As application is progressing through its lifecycle, there are different teams involved in interacting with the app and its backend. These teams include developers, testers, security auditors, system administrators ultimately customers and the users of the app. Traditionally, application goes through the stages of development, testing, staging and production. Each stage has its own group of users. It is important that each stage has its backend with all the data, security policies and business processes in an isolated from other stages environment. Backendless provides support for multiple app environments through a feature called Versioning. Continue reading
One of the hidden gems packed with features is Backendless REST Console. It is a part of Backendless console and is located in its own tab on the Data screen. The console does exactly what it sounds like – lets you run REST requests against your data tables. Let’s review how fetching your data (AKA running HTTP GET requests) works in REST Console:
- Login to Backendless Console, select an app and click the Data icon.
- Select a table that has some records.
- Click the REST Console tab.
- The table you selected in step (2) is the context of all subsequent operations in REST Console. Try clicking another table and notice the change in the Request URL field. Make sure a table with at least one record is selected.
- Click the GET button. REST Console makes an HTTP GET request to the server, receives the response and renders it in the Response Body area. You can also see the request headers if you click the show headers link. Continue reading
In my previous post I reviewed the user registration API. Now that you know how to use the registration API and have a registered user, the next step is to review the login functionality. The video below focuses on the apps’ login screen and the Backendless Login API.
In the previous post I described how to obtain file’s public URL using Backendless console. Even though one may obtain a public URL for a file or directory, it is very easy to change the permissions to restrict file download for anonymous (not authenticated) users. To restrict access:
- Login to Backendless console, select an app and click the Files icon.
- Navigate to the file or directory for which public access should be denied.
- Click the lock icon to switch to the Security screen.
- Click the Roles Permissions menu.
- Click the checkmark icon in the cell at the intersection of the row for NotAuthenticatedUser and the Read column until you get a red X icon as shown in the screenshot below: Continue reading
Any file in the Backendless File storage is also accessible through a public URL. This functionality can be restricted by changing security settings. Public file URL can be built using the following format:
https://api.backendless.com/<application id>/<version name>/files/<path>/<file name>
where <application id> <path> and <filename> should be replaced with the specific values. Another way to obtain file’s public URL is by using Backendless console: Continue reading