Is there a way to password protect a page? Without user, just first when you enter the page, you see an input where you should enter the password. When it's ok, you can see the actual content of the site. Contao 3.2.8
Printable View
Is there a way to password protect a page? Without user, just first when you enter the page, you see an input where you should enter the password. When it's ok, you can see the actual content of the site. Contao 3.2.8
Yes, protect your site with .htaccess.
How to use .htaccess if I want to protect with password only one page for all users?
You probably find solutions on stackoverflow e.g. http://stackoverflow.com/questions/1...a-specific-url.
But you can do this within Contao without .htaccess. Create a membergroup e.g. "allowed members". Setup a member. Allow login, assign to the group "allowed members", username e.g. "guest-member", assing a password e.g. "logmein". Protect the page with rights only for this membergroup. Right gets inherited to all subpages (I think). Setup a 403 page and a login module onto this page.
Have a look at the demo site. Login as a front_end user at the home page where it says "This feature demonstrates the possibility to create a member area for your website".
The back_end will show you how to set this up.
Demo site: http://demo.contao.org/contao/