Add User Authentication to your database Admin Panel
Complete Installation and Update Guide

The Authentication Module protects access to your Admin Panel
& allows to manage users & profiles.


What does the PHP authentication module include?

The PHPCG authentication module is a self-contained access-control layer that installs on top of your generated admin panel. It adds a login page, a user management interface, and a profile-based permission system — all generated and ready to use without writing any access-control code.

Once installed, the module provides:

  • A secure login page — protects access to the entire admin panel. Unauthenticated requests are redirected automatically.
  • User management — create, edit and delete admin users directly from the panel. Each user is assigned one profile.
  • Role-based profiles with per-table CRUD permissions — define what each profile can do on each table: Read, Update, Create/Delete, or Restricted to own records. Full permissions guide →
  • Password policy configuration — enforce minimum strength requirements (lowercase, uppercase, numbers, minimum length).
  • Session management — automatic logout on inactivity, configurable timeout.

The module works with all 5 supported databases (MySQL, MariaDB, PostgreSQL, Oracle, Firebird) and integrates with every table in your admin panel automatically.

Install / Reinstall / Update

Detailed documentation is available here: https://www.phpcrudgenerator.com/documentation/index#admin-user-authentication-module

Prerequisites

To install PHPCG Authentication Module you must beforehand:

PHP CRUD tutorial main page