Codette
Codette

Reputation: 1007

Only allow ipad application users to reach certain files

I have an asp.net web project where it acts as a web service for my ipad application. I show pdf files from servers public address in my ipad project with UIWebView. I added the folder to hidden segments in web config but this rejects all incoming requests. what i need right now is to reject users trying to access pdf files from web browser and only allow logged in users of ipad application to view the files in a uiwebview.

Upvotes: 0

Views: 62

Answers (1)

Paresh Navadiya
Paresh Navadiya

Reputation: 38249

Use OAuth2 for Authentication at time of login.

When iPad app will use AFNetworking Extension for OAuth 2 Authentication to make request which will provide accessToken for each user differently.

To excess file user will have to provide accessToken to access files.

Upvotes: 1

Related Questions