How to protect pages from direct access
Posted: Mon Jul 29, 2019 9:57 pm
If I go thru the login page its seems to be working ok (still a work in progress)
but how do i stop somebody from simply going straight to the page if not loged in?
I read this but I'm not understanding:
Now that we have setup users we can protect pages by simply dragging the 'Protect page' object to the page.
1) Drag & drop the Protect Page object to the page you want to protect.
2) In the properties we need to configure where the user will be redirected to if the password is incorrect. Usually the error page displays a message like 'Failed to login, try again' and then provides a link back to the login screen.
It's also possible to restrict the page to specific users with the 'AllowUsers' property.
Here you specify the users who can access the page. You can enter a list of comma-delimited users: Bill,Steve,Gary
If you leave this property empty then all registered users have access to the page.
Thanks,
Lasa
but how do i stop somebody from simply going straight to the page if not loged in?
I read this but I'm not understanding:
Now that we have setup users we can protect pages by simply dragging the 'Protect page' object to the page.
1) Drag & drop the Protect Page object to the page you want to protect.
2) In the properties we need to configure where the user will be redirected to if the password is incorrect. Usually the error page displays a message like 'Failed to login, try again' and then provides a link back to the login screen.
It's also possible to restrict the page to specific users with the 'AllowUsers' property.
Here you specify the users who can access the page. You can enter a list of comma-delimited users: Bill,Steve,Gary
If you leave this property empty then all registered users have access to the page.
Thanks,
Lasa