-
Notifications
You must be signed in to change notification settings - Fork 12
Restrict Access To Pages
After you created your login page, now you will learn how to restrict access to your pages.
First create a PHP or ASP page (depending on your server model) and save it. Security restrict page does not work on plain HTML pages:
Select App in the App Structure (1) and click the Security Provider Enforcer button (2):
When the dialog appears enable Restrict Access:
And select your security provider from the dropdown. Only the security providers which are linked for the entire project will appear here:
If you need to restrict access and enable access only for users belonging to a certain access level, then select it:
We want to allow access for all the logged in users, so we don't select any permission here.
Select a page, where the not logged in users should be redirected to if they try to load this page:
Then select a page, where the unauthorized(with no access permissions) users should be redirected to if they try to load this page:
Click OK and you are done. Your page is now fully secured and cannot be accessed from not-authorized users.
© 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