Basic Realm Authentication Controller: Authenticate users with HTTP basic mechanism

Recommend this page to a friend!
  Info   Screenshots   View files (11)   Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 593 All time: 5,157 This week: 431
Version License PHP version Categories
http-basic-auth 1.1GNU Lesser Genera...5.3HTTP, PHP 5, User Management, Security
Description Author

This class can authenticate users with HTTP basic mechanism.

It can restrict the access to the current page or content using HTTP Basic mechanism to require the user to enter the user name and a password.

The class validate the user and set session variables to store the validated user identification details.

The class can also be extended to implement user name and password validation in many ways like checking against database records or FTP servers.

Picture of Md. Shahadat Hossain Khan Razon
  Performance   Level  
Name: Md. Shahadat Hossain ... <contact>
Classes: 14 packages by
Country: Bangladesh Bangladesh
Age: 39
All time rank: 3007 in Bangladesh Bangladesh
Week rank: 246 7 in Bangladesh Bangladesh

  • prompting__user_password.png
File Role Description
http.auth.cls.php Class Class file of this package Example Example: Authentication by Array Example Example: Authentication by Constant/Embedded User Information Example Example: Authentication by Custom Class
db.basic.realm.auth.cls.php Example Example: Authentication by Existing Database User
ftp.basic.realm.auth.cls.php Example Example: Authentication by FTP server Example Example: Authentication by Customized Function Example Example: Simple Authentication (With Embedded Credential) [not recommended approach]
index.php Example Example Index
pop.and.basic.realm.auth.cls.php Example Example: Authentication by POP3 server Example Example Helper Static File 87KB
http-basic-auth-2013-01-12.tar.gz 84KB
Install with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
FTP Writer Class .zip .tar.gz Authentication by FTP Servers Optional
SQL Handling Functions .zip .tar.gz Authentication by Database Optional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,157
This week:431

For more information send a message to info at phpclasses dot org.