-
Notifications
You must be signed in to change notification settings - Fork 12
Secure Data APIs
Using the security provider tools you can secure your server actions so that no data will be shown to not-authorized users, if they somehow access the link to this server action.
Here's our server action, which contains a database query:
Right click the step before the query:
Open the security provider menu:
And add security provider:
Load the same security provider, which you defined for the login action:
Then right click the security provider step:
Open the security provider group:
And add Security Restrict:
Select your security provider from the dropdown:
And select if this server action requires any specific permissions. In our case it doesn't require any permissions so we select - All Logged In:
Save your server action:
And you are done. You won't be able to preview the server action results (using the preview in browser button) as you are not logged in.
© Wappler 2018
- Home
- Getting Started
- How-to Guides
- Project Manager
- Bootstrap 4 Visual Designer
- Image Galleries & Animations
-
Server-side Components
- Connecting to a Database
- Creating Database Queries
- Binding Data on the Page
- Formatting Dynamic Data
- Filter Data with Text Input
- Filter Data with URL Param
- Dynamic Select Menu
- Dynamic Sortable Table
- Dynamic Paging
- Server Side Includes (SSI)
- Insert Database Record
- Get Inserted Record ID
- Delete Database Record
- JSON Data Sources
- Send Form to Email
- Debugging Problems
- Security & Login
- Form & Data Validation
- Notifications & Alerts
- Mobile Apps