<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/security</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 08:25:18 GMT</pubDate>
<item>
<title>(PHP) Custom Logging Site Events - COBOLdinosaur</title>
<link>http://snipplr.com/view/69663/custom-logging-site-events/</link>
<description><![CDATA[ <p>To keep up on important incidents on your site without having to dig through server logs the alternative can be custom logs.</p> ]]></description>
<pubDate>Sun, 27 Jan 2013 07:45:21 GMT</pubDate>
<guid>http://snipplr.com/view/69663/custom-logging-site-events/</guid>
</item>
<item>
<title>(PHP) BCrypt - mladoux</title>
<link>http://snipplr.com/view/66740/bcrypt/</link>
<description><![CDATA[ <p>Only tested on PHP 5.4.4. Generates and verifies bcrypt hashes. Multibyte safe</p> ]]></description>
<pubDate>Wed, 15 Aug 2012 13:18:57 GMT</pubDate>
<guid>http://snipplr.com/view/66740/bcrypt/</guid>
</item>
<item>
<title>(PHP) Password storing/checking class. Keeping passwords safe. - ptodorov</title>
<link>http://snipplr.com/view/66073/password-storingchecking-class-keeping-passwords-safe/</link>
<description><![CDATA[ <p>Nice implementation of Blowfish for storing user passwords to prevent decryption when for example the user database is compromised. Origin: Burak Guzel@Nettuts</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 16:48:14 GMT</pubDate>
<guid>http://snipplr.com/view/66073/password-storingchecking-class-keeping-passwords-safe/</guid>
</item>
<item>
<title>(PHP) mAuth - mladoux</title>
<link>http://snipplr.com/view/66031/mauth/</link>
<description><![CDATA[ <p>A simple user management library. It makes no attempt at handling sessions or cookies, I'll leave that part up to you. It's just a drop in that will allow you to create users, update passwords, and make sure that user supplied information is correct. Should easily integrate into any application setting that you might be able to think of. The library is completely database agnostic, as it makes use of the dbforge library to automatically generate databases on first use. As long as CodeIgniter supports the database, this library will work with it.</p> ]]></description>
<pubDate>Mon, 09 Jul 2012 07:10:11 GMT</pubDate>
<guid>http://snipplr.com/view/66031/mauth/</guid>
</item>
<item>
<title>(PHP) Remove WordPress version meta - klagraff</title>
<link>http://snipplr.com/view/65897/remove-wordpress-version-meta/</link>
<description><![CDATA[ <p>Insert this in functions.php to remove WordPress version from being output in the header source code</p> ]]></description>
<pubDate>Mon, 02 Jul 2012 02:54:14 GMT</pubDate>
<guid>http://snipplr.com/view/65897/remove-wordpress-version-meta/</guid>
</item>
<item>
<title>(PHP) mBlog Authentication Library - mladoux</title>
<link>http://snipplr.com/view/65231/mblog-authentication-library/</link>
<description><![CDATA[ <p>mBlog Authentication Library
Mark LaDoux 

Inspired by the DBlog Authentication Library
David Behler 

 Handles authentication and authorization requests for mBlog.</p> ]]></description>
<pubDate>Mon, 28 May 2012 11:37:34 GMT</pubDate>
<guid>http://snipplr.com/view/65231/mblog-authentication-library/</guid>
</item>
<item>
<title>(PHP) Portable PHP Password Hashing Framework - Modified for CodeIgniter - mladoux</title>
<link>http://snipplr.com/view/65225/portable-php-password-hashing-framework--modified-for-codeigniter/</link>
<description><![CDATA[ <p>Modified by adding public and protected declarations, renamed PasswordHash
constructor to __construct. Adapted for use with CodeIgniter</p> ]]></description>
<pubDate>Mon, 28 May 2012 06:40:41 GMT</pubDate>
<guid>http://snipplr.com/view/65225/portable-php-password-hashing-framework--modified-for-codeigniter/</guid>
</item>
<item>
<title>(PHP) IP Blacklist Check Script - DNSBL</title>
<link>http://snipplr.com/view/64564/ip-blacklist-check-script/</link>
<description><![CDATA[ <p>Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button</p> ]]></description>
<pubDate>Sun, 15 Apr 2012 18:44:22 GMT</pubDate>
<guid>http://snipplr.com/view/64564/ip-blacklist-check-script/</guid>
</item>
<item>
<title>(PHP) Cookie Class - mladoux</title>
<link>http://snipplr.com/view/55494/cookie-class/</link>
<description><![CDATA[ <p>HMAC cookie implementation based on BigOrNot_CookieManager by Mattieu Huguet. (http://bigornot.blogspot.com/2008/06/securing-cookies-php-implementation.html) Rewritten for clarity, updated for use with PHP 5 and Zend Framework dependencies removed by Mark A. LaDoux.</p> ]]></description>
<pubDate>Mon, 20 Jun 2011 14:09:11 GMT</pubDate>
<guid>http://snipplr.com/view/55494/cookie-class/</guid>
</item>
<item>
<title>(PHP) WP Email Encoder Bundle - freelancephp</title>
<link>http://snipplr.com/view/49005/wp-email-encoder-bundle/</link>
<description><![CDATA[ <p>Encode mailto links and (plain) email addresses on your site and hide them from spambots. Easy to use, plugin works directly when activated.

Features
* Protect all emails and mailto links
* Check posts, widgets, comments and RSS feeds
* Encode all kind of content (text and html)
* Email Encoder Form (in admin and also for your site)
* Use params in mailto links, like: cc, bcc, subject, body
* And more.</p> ]]></description>
<pubDate>Mon, 14 Feb 2011 23:01:44 GMT</pubDate>
<guid>http://snipplr.com/view/49005/wp-email-encoder-bundle/</guid>
</item>
<item>
<title>(PHP) Hashing Class - sarfraznawaz2005</title>
<link>http://snipplr.com/view/47446/hashing-class/</link>
<description><![CDATA[ <p>Hashing class for user login and registration</p> ]]></description>
<pubDate>Wed, 19 Jan 2011 00:49:15 GMT</pubDate>
<guid>http://snipplr.com/view/47446/hashing-class/</guid>
</item>
<item>
<title>(PHP) Clean incoming POST data - kendsnyder</title>
<link>http://snipplr.com/view/47396/clean-incoming-post-data/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 Jan 2011 04:37:58 GMT</pubDate>
<guid>http://snipplr.com/view/47396/clean-incoming-post-data/</guid>
</item>
<item>
<title>(PHP) get_ip - mladoux</title>
<link>http://snipplr.com/view/40870/getip/</link>
<description><![CDATA[ <p>A simple IP address utility that first attempts to get the users IP via X\_FORWARDED\_FOR headers, and if they are not available, then resorts to the TCP/IP stack.</p> ]]></description>
<pubDate>Wed, 22 Sep 2010 00:25:12 GMT</pubDate>
<guid>http://snipplr.com/view/40870/getip/</guid>
</item>
<item>
<title>(PHP) Simple Random Pass Generator - mladoux</title>
<link>http://snipplr.com/view/40846/simple-random-pass-generator/</link>
<description><![CDATA[ <p>A simple php function to generate random passwords between 8-14 characters long. Good for temporary passwords for use with a password recovery system as reset passwords.</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:43:05 GMT</pubDate>
<guid>http://snipplr.com/view/40846/simple-random-pass-generator/</guid>
</item>
<item>
<title>(PHP) Simple PHPBB3 Authentication Bridge - mladoux</title>
<link>http://snipplr.com/view/40845/simple-phpbb3-authentication-bridge/</link>
<description><![CDATA[ <p>A simple bridge to allow your website to integrate it's authentication and session handling with PHPBB3</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:40:25 GMT</pubDate>
<guid>http://snipplr.com/view/40845/simple-phpbb3-authentication-bridge/</guid>
</item>
<item>
<title>(PHP) Email validation (IPv4 Version) - mladoux</title>
<link>http://snipplr.com/view/40842/email-validation-ipv4-version/</link>
<description><![CDATA[ <p>Quick &amp; dirty email address validation function… enjoy. It’s actually a modification of Douglas Lovell’s ( link at bottom of post ) email validation script, except, unlike his, this one actually passes the compliance test that he wrote for it. I essentially just reformatted it to fit my style, moved a couple things around, and fixed an error by adding an additional test that he forgot. This version is safe for PHP4 or higher, and works on servers that do not yet support IPv6</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:29:25 GMT</pubDate>
<guid>http://snipplr.com/view/40842/email-validation-ipv4-version/</guid>
</item>
<item>
<title>(PHP) Email Validation (IPv6 Version) - mladoux</title>
<link>http://snipplr.com/view/40841/email-validation-ipv6-version/</link>
<description><![CDATA[ <p>This is a version of the previous script that is compliant with IPv6, it requires PHP 5 or newer, so yeah, if you don’t have it, it will fail horribly ( due to the AAAA record check ).</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:26:39 GMT</pubDate>
<guid>http://snipplr.com/view/40841/email-validation-ipv6-version/</guid>
</item>
<item>
<title>(PHP) PHP/MySQL IP Ban List - mladoux</title>
<link>http://snipplr.com/view/40837/phpmysql-ip-ban-list/</link>
<description><![CDATA[ <p>IP Ban List that stores banned IP addresses in a MySQL Database. Supports both IPv4 and IPv6 simultaneously. SQL code is in the comments.</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:10:51 GMT</pubDate>
<guid>http://snipplr.com/view/40837/phpmysql-ip-ban-list/</guid>
</item>
<item>
<title>(PHP) PHP/.htaccess Ban List 1.0 - mladoux</title>
<link>http://snipplr.com/view/40835/phphtaccess-ban-list-10/</link>
<description><![CDATA[ <p>Requires Apache, does not yet handle IP addresses with wildcards in them, that'll be in the next version</p> ]]></description>
<pubDate>Tue, 21 Sep 2010 18:04:33 GMT</pubDate>
<guid>http://snipplr.com/view/40835/phphtaccess-ban-list-10/</guid>
</item>
<item>
<title>(PHP) Change Default Joomla Database Table Prefix - beneberle</title>
<link>http://snipplr.com/view/38667/change-default-joomla-database-table-prefix/</link>
<description><![CDATA[ <p>Substitute new_ placeholder in the second line with your new prefix.  Run it: http://www.yoursite.com/rename.php and wait until it responds with an OK, usually after a couple of seconds.  Delete the rename.php script.  Edit the configuration.php file and find the line starting with var $dbprefix. It should look like this:  var $dbprefix = \'jos_\';  Replace the old jos_ prefix with new prefix, i.e. the one used in the second line of your rename.php script.</p> ]]></description>
<pubDate>Sat, 07 Aug 2010 11:52:36 GMT</pubDate>
<guid>http://snipplr.com/view/38667/change-default-joomla-database-table-prefix/</guid>
</item>
</channel>
</rss>