News Feed
Sections




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

DevShed:
Private Pages with PHP and Text Files
February 27, 2006 @ 09:16:15

DevShed has this new tutorial posted today concerning the use of text file authentication to create "private pages" in your site.

You run a website that is simple enough it doesn't require a database. But your site features certain pages to which you'd like to limit access. Most of the time, that implies using a database to store passwords and usernames. There is an easier way, however. It's less secure, but it involves a lot less coding.

They step you through the process - creating the form, making the PHP page for it to submit to, checking the password (including a bit on encryption), and validating the user's entry against it.

0 comments voice your opinion now!
private pages text file authentication nd5 encryption private pages text file authentication nd5 encryption


blog comments powered by Disqus

Similar Posts

DevShed: Using the Memento Pattern with a File Reading Class

Jim Plush\'s Blog: Holy Shit Batman - Sites popping up to decode Zend encoded files!

Gonzalo Ayuso's Blog: Protect files within public folders with mod_rewrite and PHP

Vance Lucas' Blog: Protected vs Private Scope: Arrogance, Fear and Handcuffs

Sameer Borate's Blog: Tail functionality in PHP


Community Events

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


framework opinion interview extension introduction unittest symfony podcast security laravel language threedevsandamaybe laravel5 api community voicesoftheelephpant release library version series

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