This is a Back-end web access for any restricted web application.
This code use only some basic php code with a small dose of Javascript & css and store users in a sqlite file.
/html is the Apache home directory dbdir is out of home directory for security.
media directory can be out or in home directory.
System need sqlite3 for php, get it with apt install php-sqlite3 on Debian or Ubuntu
Three users are already in the database: administrator (level 3), operator (level 2) & user (level 1) both have password Azerty01*