Security
Results 1 - 20 of 40
5 Basic PHP Security Tips
Security should be a top concern throughout the development of any PHP web application. There are some very simple measures you can take to protect your application from potential abuse. This post will cover some of the basics of PHP security.
MD5 Encryption in PHP
Md5 is a very easy way to encrypt any string data. Following example take and encrypts a string. Remember that you could not dencrypt any data after encryption. .
email Injection - How to prevent it?
I persume that most of them would be knowing this attack and how to prevent it, but recently when i was googling i found out many feedback form scripts to be in secure. PHP is a majuscule and secure language, but it all depends upon the programmer style...
(show more)
Silentum PasswordGen
Silentum PasswordGen is an excellent password generator tool if you need passwords for email clients, message boards, IM programs, or any other protected pages. It has various options, including choosing whether to use lowercase/uppercase letters,...
(show more)
PHP Form image verification
When you build a form in your web page, you are susceptible to being spamed by automated systems. In order to make sure that the one who completes the form is human, you can use the system with image verification.
Basic string encoding/decoding functions
These are basic string encoding/decoding functions I developed for use in flat-file databases. They offer limited security to protect sensitive data from being viewed.
Redirect http:// to https://
Redirection of addresses to your secure pages(SSL). This tutorial will guide to redirect user request from http:// to your SSL HTTPS:// with no scripting to pages. One script and it works for all your pages.
Block IP address with PHP
Its always a hard slog with spammers around the web. Once we have found the culprit, we generally move towards htaccess to lock the window and when its not available, we rely on the power of PHP.Lets get into the battle
Advanced IP Ban Script
This script is useful if you want to restrict the access to some people on your site, based on their IPs. There are 2 lists which can be used: one which has a list of the IPs you want to ban and one which you can use to ban a range of IPs. The script...
(show more)
Creating a basic bad word filter in PHP
This tutorial will show you how to create a basic bad word filter in PHP.
MD5 Encryption in PHP
Md5 is a very easy way to encrypt any stirng data. Following example take and encrypts a string. Remember that you could not dencrypt any data after encryption.
Simple Math CAPTCHA
This script asks the user to correctly answer a math problem before they can proceed, preventing spambots from registering or posting content to your site.
Basic PHP Security
In this tutorial we'll go over some of the areas of PHP that need special attention to make sure your code protects against malicious attempts, from SQL Injection to the underestimated - XSS.
PHP CAPTCHA Tutorial
Captcha stands for "Completely Automated Public Turing test to tell Computers and Humans Apart" and is used for telling humans and computers apart. Here is a tutorial that will teach you how to create your own PHP CAPTCHA.
Minimal Sanitation Techniques
This tutorial will show you sanitation techiques used by the pros so that your scripts will be secure, and resistant to any attacks.
How to Spam-Proofing Your Website
Spam-Proofing Your Website
Anyone who operates their own website knows that you need to provide forms in your site for visitors to contact you. The big challenge is providing easy form access to your visitors, without letting SPAM flood your email...
(show more)
PHP random password generator
PHP password generator is a complete, working password generation function for PHP. It allows the developer to customize the password: set its length and strength.
Developing rock-solid code in PHP
This tutorial is intended for both amateur and professional PHP programmers who want to design and write quality functions. To complete this tutorial, you must have a basic level of working knowledge with PHP, and know how to define functions.This will...
(show more)
Math Captcha image validation
With all the Captcha decoders these days, its impossible to build a solid Captcha image validator with a string. The solution? Have a captcha that asks simple math addition questions! Decoders are not very good at breaking these.
This tutorial will...
(show more)
Simple IP Address Format Checker
There are more extensive ways to do an IP address format check, but this is a good cursory check. Simply call it passing an IP address as a string and it will return true if it's valid, false if it isn't.
