Here Is How to Secure a Cloud Database

The Appery.io Database is a cloud database for storing any app data. The app communicates with the cloud database via simple REST API.

To access the database, the database API key is added to each request.

What if you need extra security? Any database collection can be configured with extra security in a few seconds.

Screen Shot 2016-04-22 at 1.05.08 PM
Database collection security and permissions

When you configure a collection with extra security, a user session token has to be included in every request. How to get the session token? A user (from Users collection) needs to do a login. When a login is successful, a session token is returned. This session token is then used with every request. Without the session, the collection can not be accessed.

Another layer of access can be set by checking or unchecking the Read/Write permission. For example, if you uncheck Write, then no request will be able to write anything into the collection, only read the data.

Both the security and Read/Write permissions can be overwritten by including a special master key – which acts as root access.

The Appery.io Database can be configured with a number of security and permissions options to give you the most flexibility when creating your mobile app.

What to learn more? Check out our YouTube channel for many short videos.

Published by

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.