News Feed
Jobs Feed
Sections




News Archive
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

Jani Hartikainen's Blog: Zend_Acl part 1: Misconceptions and simple ACLs

ThinkPHP Blog: Methods to Reduce the Load of Your Webserver by Caching Content

ProDevTips.com: Zend Amf and class mapping with Flash CS3 / AS3

PHP-GTK Community Site: GtkToolbar, GtkMenubar, and PEAR XML-RPC for geo-nick

NETTUTS.com: Building the Back-End of a Photo Site


Community Events











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


language unittest conference introduction functional interview podcast release usergroup community database zendframework2 opinion framework phpunit rest development testing symfony2 series

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