Was this helpful?

Any app you put into production should feature security that protects your app, your users, and your app's data. Implementing security means taking steps in your mobile app's code and in your App Services application.

Warning: When you register for App Services, you get a sandbox application that you can use to try things out. This application is not for use in production. By default, the sandbox application is not protected by any security measures whatsoever. Use the sandbox only for experimentation, and only with data that isn't in any way sensitive.

When securing your app, follow these high-level steps:

  1. In your App Services application, use the admin portal to define your app users' access to your app's data and features. You do this by creating permission rules, then associating those rules with your users. For more information, see Managing access by defining permission rules.
  2. In your app, write code through which your app's users can verify who they are to your App Services application. You do this by writing code that uses their username and password as credentials to initially authenticate with the App Services application, then uses a token thereafter. (This authentication style supports the OAuth 2.0 model.) For more information, see Authenticating users and application clients.
  3. Be sure to use coding best practices that help ensure that your app is protected from malicious attacks. For more information, see Security best practices.

The following illustration describes these high-level areas.

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.