Re: Login form on restricted folders

Daniel Seidel via opencms-dev <[email protected]>
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <[email protected]>
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

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.