[opencms-dev] Login form on restricted folders

Daniel Seidel d.seidel at alkacon.com
Thu Dec 22 09:33:52 CET 2022


Hi Laurent,

you have to set the property "login-form" on the root folder of your 
protected folders. Set it's value to the site path of the page with the 
login-form on it.

To get it "really protected" - in case you have container pages - you 
may use a sub-sitemap with local contents. Otherwise the pages won't be 
accessible, but the contents itself are not protected.

Best, Daniel.

Am 22.12.22 um 08:54 schrieb laurent.druart--- via opencms-dev:
> Hello,
>
> I want to protect some folders on my OpenCMS website with 
> username/password. I created a group with users and set permissions on 
> folders. It works, I got an http basic popup where I must give my 
> credentials. How can I replace this https basic popup with a login 
> form page? I know how to create the login form, thanks to mercury demo 
> but i do'nt know how to replace the http basic popup by this page.
>
> Thanks for your help
>
> Rgards,
>
> Laurent
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards

Daniel.

-------------------

Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
https://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list