Creating protected pages without a database

Quick 'n Easy 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...
Note:
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'.
The 'Embedded' database type can be selected in the properties of the Login object.
Users can be added and modified with via 'Users' property of the Login object.
For each user, you can set the name, full name, password, email address, active state and (optional) user role.
Note:
Although usernames and (hashed) passwords are embedded in the page, this data will not be sent to the browser!
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.

Related tutorials

Copyright 2024 Quick 'n Easy Web Builder
Follow us on: