Recently Popular Security Tagged Tutorials
Sep 25
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 [...]
Dec 8
Creating a simple login script with php and mysql
Learn to create a simple login system with php and mysql in 7 simple steps.
Nov 13
Writing Secure PHP - Part 3
Writing Secure PHP - Part 1, and Writing Secure PHP - Part 2 covered many of the basic mistakes PHP developers make, and how to avoid common security problems. It is time to get a little deeper into security though, and begin to tackle some more advanced issues.
Nov 13
Writing Secure PHP - Part 2
Writing Secure PHP - Part 1 covered a few of the most common security holes in websites. It's time to move on, though, to a few more advanced techniques for securing a website. As techniques for 'breaking into' a site or crashing a site become more advanced, so must the methods used to stop those [...]
Nov 13
Writing Secure PHP - Part 1
PHP is a very easy language to learn, and many people without any sort of background in programming learn it as a way to add interactivity to their web sites. Unfortunately, that often means PHP programmers, especially those newer to web development, are unaware of the potential security risks their web applications can contain. Here [...]
Sep 26
How to Encrypt Passwords in the Database
If you are developing a password-protected web site, you have to make a decision about how to store user password information securely. This article will show you how to encrypt user passwords with md5 algorithm and how to start using encrypted passwords if you already have users' database ready.
Jul 28
PHP encryption for the common man
In this increasingly virtual online world, you have to be careful to protect your data. Learn the basics of encoding and encrypting important bits of information, such as passwords, credit card numbers, and even entire messages. Get an overview of what it means to encrypt and decrypt information, as well as some practical examples involving [...]
Jul 11
Top 21 PHP Programming Mistakes - Part 3
Covers the last 7 “deadly” mistakes. These mistakes are conceptual in nature and can represent the root cause for committing any one of the mistakes listed in Series Parts I and II. They include blunders such as not allotting enough time for a project and not having a thorough code review.
Jul 11
Top 21 PHP Programming Mistakes - Part 2
Covers the next 7 “serious” mistakes, representing # 14-8 on our rating list. Committing one of these mistakes will lead to drastically slower run times and less secure scripts, in addition to less maintainable code.
Jul 11
Top 21 PHP Programming Mistakes - Part 1
Covers the first 7 “textbook” mistakes (#21-15, in reverse order of severity) on our rating list. Committing one of these mistakes, while not critical, will lead to slower and less maintainable code.