The Largest Curatorial Library
With Page Protection

Page Protection With Login Without SQL

Page Protection With Login Without SQL

Add a username-and-password login to your existing PHP pages without installing a database. Page Protection is designed to be easy to use, even if you are not a developer. Upload the files, open the administration page and choose your own username and password. Then copy the supplied line to the top of each PHP page you want to protect. No command line or installation keys are required. Manage access from one straightforward panel. Create accounts, choose User or Admin access, remove users and change forgotten passwords. Administrators can open all protected pages, while normal users can only open pages available to their role. The login screen and administration panel adapt to desktop and mobile browsers. A working example page and a clear English installation guide are included, with ready-made code to copy and paste. Passwords are hashed automatically, and the script handles form protection and login sessions behind the scenes. If you are updating the original version, keep your existing account file: supported MD5 passwords migrate automatically when users sign in. REQUIREMENTS PHP 8.0 or newer, PHP sessions enabled and permission to save account files in the script folder. Use HTTPS on a live website. No database, Composer packages or external services are required. Tested on PHP 8.3. PLEASE NOTE Protection applies to PHP pages where you add the supplied line. Direct links to PDFs, images and other static downloads need separate protection. Public registration and email password recovery are not included. DEMO ACCESS:

Created Sep 21, 2018 · Updated Oct 17, 2026 · ★ 5.00 (3) · 9 likes