How to protect pages from direct access

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
Lasa
 
 
Posts: 482
Joined: Sat Oct 06, 2018 3:08 pm

How to protect pages from direct access

Post 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
Lasa
 
 
Posts: 482
Joined: Sat Oct 06, 2018 3:08 pm

Re: How to protect pages from direct access

Post 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
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: How to protect pages from direct access

Post 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.
Post Reply