News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Evert Pot's Blog:
HTTP Basic and Digest authentication with PHP
February 13, 2009 @ 12:06:02

Validating users can be a complicated thing but, depending on what you're trying to protect, you may not need an entire user validation and management system to keep it all straight. Evert Pot offers information on using PHP with a good old standby technology - HTTP basic and digest authentication.

HTTP authentication is quite popular for web applications. It is pretty easy to implement and works for a range of http applications; not to mention your browser.

He includes two scripts - one to force the Basic form of authentication (the password is passed over in clear-text) and the Digest method (the password is set over as a hash) - and how to check the values sent back for each. Obviously, the Digest method takes a little more doing and requires compiling a few different keys as an md5 hash to ensure that the user is valid.

0 comments voice your opinion now!
http basic digest authentication example tutorial


blog comments powered by Disqus

Similar Posts

Christian Wenz's Blog: Installing PHP on Windows 7

DevShed: Introducing the Facade Pattern in PHP 5

Jan Lehnardt's Blog: Using the Zend Framework with Code Igniter (an alternative)

Abhinav Singh's Blog: How to add content verification using hmac in PHP

SitePoint Web Foundations Blog: Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box


Community Events

Don't see your event here?
Let us know!


release version security laravel interview example introduction community php7 language library laravel5 voicesoftheelephpant extension list opinion api series podcast framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework