Login   Register  
PHP Classes
elePHPant
Icontem

Basic Realm Authentication Controller: Authenticate users with HTTP basic mechanism

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-01-12 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 484 This week: 1All time: 5,338 This week: 1,420Up
Version License PHP version Categories  
http-basic-auth 1.1GNU Lesser General Publ...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
Name: Md. Shahadat Hossain ... <contact>
Classes: 11 packages by
Country: Bangladesh Bangladesh
Age: 33
All time rank: 49110 in Bangladesh Bangladesh
Week rank: 118 Up7 in Bangladesh Bangladesh Up

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:484All time:5,338
 This week:1This week:1,420Up