News Feed
Sections




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

Devshed:
Simple and Secure PHP Login Script
July 28, 2011 @ 09:57:39

In this new tutorial on DevShed, they walk you through the creation of a secure login script that uses sha256 encryption, a captcha to prevent automated signups, XSS attack protection and several other features.

Recent advancements in PHP offer the developer a variety of tools to improve the security of login systems. [...] This programming tutorial will teach you how to create a simple, yet secure login script utilizing PHP using MySQL and bracing for XSS attack prevention.

Other features include no persistent logins, preventing direct file access, an idle timeout on the user session, protection against session fixation and anti-brute force measures. Full (procedural) code is provided as well as screenshots from phpMyAdmin showing the database table structure. You can grab the code for the project here.

1 comment voice your opinion now!
simple secure login script user tutorial


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Zend_Acl part 2: different roles and resources, more on access

Bruno Goncalves' Blog: Writting your first WordPress plugin

DevShed: Creating the Blog Script for a PHP/MySQL Blogging System (Part 2)

The Bakery - Rails-Like Validation, Elistic, Textile, and a CakePHP Release

NETTUTS.com: The Newbie's Guide to Test-Driven Development


Community Events





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


introduction version composer library security tool podcast list community artisanfiles series opinion conference symfony laravel language release voicesoftheelephpant interview framework

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