PHP Classes
elePHPant
Icontem

Basic Realm Authentication Controller: Authenticate users with HTTP basic mechanism

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-01-12 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 561 This week: 1All time: 5,184 This week: 1,047Up
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

Screenshots  
  • prompting__user_password.png
  Files folder image Files  
File Role Description
Plain text file http.auth.cls.php Class Class file of this package
Accessible without login Plain text file array.http.auth.eg.php Example Example: Authentication by Array
Accessible without login Plain text file constant.http.auth.eg.php Example Example: Authentication by Constant/Embedded User Information
Accessible without login Plain text file customclass.http.auth.eg.php Example Example: Authentication by Custom Class
Accessible without login Plain text file db.basic.realm.auth.cls.php Example Example: Authentication by Existing Database User
Accessible without login Plain text file ftp.basic.realm.auth.cls.php Example Example: Authentication by FTP server
Accessible without login Plain text file function.http.auth.eg.php Example Example: Authentication by Customized Function
Accessible without login Plain text file http.auth.eg.php Example Example: Simple Authentication (With Embedded Credential) [not recommended approach]
Accessible without login Plain text file index.php Example Example Index
Accessible without login Plain text file pop.and.basic.realm.auth.cls.php Example Example: Authentication by POP3 server
Accessible without login Plain text file secure.file.eg.php Example Example Helper Static File

Downloadhttp-basic-auth-2013-01-12.zip 87KB
Downloadhttp-basic-auth-2013-01-12.tar.gz 84KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
FTP Writer Class Download .zip .tar.gz Authentication by FTP Servers Optional
SQL Handling Functions Download .zip .tar.gz Authentication by Database Optional
 Version Control Unique User Downloads Download Rankings  
 0%
Total:561
This week:1
All time:5,184
This week:1,047Up