Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Simple PHP ACL
branch: master
Failed to load latest commit information.
admin Dropped "App" table
assets Dropped "App" table Update
index.php Dropped "App" table
install.php Dropped "App" table
install.sql Dropped "App" table
sampleData.sql Dropped "App" table


A Simple PHP ACL This ACL gives you control over the users, user roles and their permissions. This ACL is a improved version of the ACL from a net.tuts+ tuturial.


  1. Create a MySQL database.
  2. Open assets/php/database.php with your IDE/text editor of choice.
  3. Edit the variables on lines 5-8 with the correct values for your DB setup.
  4. Save and upload all files from the archive to your webserver.
  5. Using your browser, navigate to the install.php file wherever you uploaded it.
  6. Select whether or not you want to install the sample records.
  7. Once it finishes running the SQL commands to create the tables it will redirect you to the index page.
  8. Delete install.php, install.sql, and sampleData.sql.

NOTE: If you change the ACL permissions so that user #1 no longer has the 'access_admin' permission, you won't be able to access the admin site because only userID = 1 has access to Admin Area by default.

Something went wrong with that request. Please try again.