WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: sixis on March 20, 2020, 01:08:07 PM

Title: pages behind password
Post by: sixis on March 20, 2020, 01:08:07 PM
How to implement the folowing? Does someone have an idea?

A few pages should be password protected

At the moment i display a page content after comparing a password given by form with a text in the mysql database.
But the user has to fill in the password every time a new password protected content is viewed.

I think somewhere i have to save a state that this user has filled in the password correctly at viewing the first page
and then check the state for displaying the next page.
Title: Re: pages behind password
Post by: dbs on March 20, 2020, 01:15:35 PM
I'm not sure.
Create a group.
Assign some users to this group.
Go to the settings of a page and allow this group to view this page.
Maybe set the page to visibility "registered".

Only a idea.

Title: Re: pages behind password
Post by: sixis on March 20, 2020, 02:02:36 PM
sorry my fault,

not registered users

just visitors who know the password have acces without registering.
Title: Re: pages behind password
Post by: dbs on March 20, 2020, 02:11:49 PM
One page with login.
On this page are links to hidden subpages.
Could be a way.
Title: Re: pages behind password
Post by: sixis on March 20, 2020, 02:58:37 PM
Thank you for this splendid idea  (Y)

Due to the fact that the informations on these pages are not sensible (just hidden from curious) this is the right way.