The Ultimate Toolbox for creating
amazing web sites!
Creating protected pages without a database
WYSIWYG Web Builder has powerful tools to create protected pages, so only registered visitors can access specific pages.
For some users however, it may be difficult to setup the database because this requires additional configuration on the server side.
That is why we have added the ability to use an 'embedded database'. This makes it possible to setup the login tools without having to create a database on the server. Instead of adding or editing user accounts online, you can now do this in the application itself. The downside to this is that you cannot edit the users online, of course...
Users can be added and modified with via 'Edit Database' button in the properties of the Login object.
The 'Embedded' database type can be selected in the properties of the Login object.
This option cannot be used in combination with the objects: Admin, Change Password, Edit Profile, Signup and Password Recovery because these objects require an online database. Basically, the only objects you need are 'Login' and 'Protected Page'.
Although usernames and (hashed) passwords are embedded in the page, this data will not be sent to the browser!
For each user, you can set the name, full name, password, email address, active state and (optional) user role.
After adding the login form and setting up the users, all you will need to do is add the 'Protected Page' object to each page you want to protect. Also, make sure the page extension of each page is set to 'PHP! Then you can publish the website and test login pages.