Page 1 of 1

How to protect pages from direct access

Posted: Mon Jul 29, 2019 9:57 pm
by Lasa
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

Re: How to protect pages from direct access

Posted: Mon Jul 29, 2019 11:00 pm
by Lasa
If you leave this property empty then all registered users have access to the page.!!!
I read it tn times without see this!
Flat line seems to be working...
Cheers,
Lasa

Re: How to protect pages from direct access

Posted: Tue Jul 30, 2019 6:41 am
by Pablo
but how do i stop somebody from simply going straight to the page if not loged in?
If the page is protected then it cannot be access without logging in.