want to join us? register, it's easy | help

browse by tag: secure

sort by

newest, oldest, most popular


category icon

How to Use PHP's Crypt() Function to Encrypt and Check a Password

in PHP added by Walkere, on 28/1/2008 beginner tutorials encryption passwords php5 security

This tutorial will walk you through using PHP's crypt() function to effectively encrypt a password for storage in a database and later check that password against a user's input.

comment save report
category icon

PHP Captcha Tutorial (in-depth)

in PHP added by techusky, on 2/1/2008 advanced tutorials captcha php5 security verification

This CAPTCHA script allows a user to easily customize things such as the string length, minimum and maximum font size, image size, the font used, and even the characters used, etc... Unlike most CAPTCHA scripts that generate the random text based on an md5 hash of the time, this one lets the user input specific numbers, uppercase, and lowercase characters they want used (or don't want used) in the creation of the CAPTCHA image. It also assures, regardless of the length of the string, that there is at least both 1 random upper and lowercase character in the string, thus making it more difficult for bots. Another feature in this script is that it randomly rotates each character on the image.

comment save report
category icon

SQL Injection Walkthrough

in PHP added by goodphptutorials, on 13/2/2007 injection security sql

The following article will try to help beginners with grasping the problems facing them while trying to utilize SQL Injection techniques, to successfully utilize them, and to protect themselves from such attacks.

comment save report
category icon

More secure PHP image upload class tutorial

in PHP added by kreoton, on 22/11/2007 image security upload

This tutorial shows how to build safe image upload class.

comment save report
category icon

Creation of captcha / Part II /Secure forms

in PHP added by Jordan, on 12/5/2008 captcha secure

Display captcha using secure forms.

comment save report
category icon

How to encrypt user info with php

in PHP added by jinxit, on 2/7/2008 encryption md5 salt security

If you run a serious webpage where you save login information for your members to a database it is generally a very good idea to perform some kind of encryption on these password to prevent the information to be shared in case your datebase would be hacked. This tutorial shows you how to do this.

comment save report
category icon

Securing your MySQL queries with sprintf

in PHP added by Wildhoney, on 13/9/2007 programming security sessions

Sprintf in itself will not secure a MySQL query from head to toe. That should be made clear from the word go. There are many more techniques that go into ensuring a MySQL statement is safe to execute on the MySQL server. Sprintf will, however, take a lot of the sting out of any malice.

Not only will your new found knowledge help you when it comes to security, but sprintf and its twin brother with a slight genetic mismatch, printf, are on hand to make your PHP code look a lot more programmer-friendly.

comment save report
category icon

Password Hashing

in PHP added by goodphptutorials, on 29/5/2006 security

In this article I'm going to cover password hashing, a subject which is often poorly understood by newer developers. Recently I've been asked to look at several web applications which all had the same security issue - user profiles stored in a database with plain text passwords.

comment save report
category icon

Writing Secure PHP

in PHP added by goodphptutorials, on 8/5/2006 security

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 are a few of the more common security problems and how to avoid them.

comment save report
category icon

Secure PHP installation on unix/linux systems

in PHP added by quipo, on 27/1/2007 apache howto linux php php5 security unix

Simple guide to a more secure PHP installation on unix/linux systems

comment save report
category icon

Secure Programming in PHP

in PHP added by goodphptutorials, on 15/12/2005 security

This article discusses the common threats and challenges of programming secure PHP applications and practical methods for doing so.

comment save report
category icon

Protection from offline viewers

in PHP added by goodphptutorials, on 4/12/2005 downloading hotlinks offline protection security

If you have a pay-for-traffic webhosting deal you don't want one anxious user gobbling up a year's traffic by normal users by downloading your website for their own offline browsing pleasure

comment save report
category icon

Traverse Directories the Easy Way with Glob

in PHP added by Wildhoney, on 16/9/2007 file handling security session sessions web

There is a powerful yet somewhat unheard of function in PHP titled glob(). Many beginners and intermediates alike struggle with the traversing of directories. Acquiring the directories contents and returning them in a readable format. If only they know how so very easy this task was!

comment save report
category icon

Pro PHP Security / Preventing SQL Injection

in PHP added by goodphptutorials, on 12/11/2006 security

PHP is an extremely powerful yet easy-to-learn scripting language, affording even relatively inexperienced programmers the opportunity to create complex, dynamic websites. It is, however, notoriously difficult to ensure privacy and security of internet services.

comment save report
category icon

Foiling Cross-Site Attacks

in PHP added by goodphptutorials, on 11/3/2006 cross site scripting security xss

Security is a nebulous topic. Web applications are often described as being secure or insecure, and this yields dangerous misconceptions and confusion. Just how secure is a secure Web application?

comment save report
category icon

Securing Forms with Random Noisy Images

in PHP added by goodphptutorials, on 21/1/2006 capatcha form image process security user validation

This tutorial is intended for those who want to ensure that the data retrieved by a form processor PHP is sent by the expected form, not another application or by hand. An understanding form data processing is assumed. A basic knowledge of image creation and manipulation functions is also required.

comment save report
category icon

Visual Verification in PHP

in PHP added by goodphptutorials, on 8/4/2006 captcha security spam

Verification of form data is used to determine whether or not the submission is from a user or from a "bot". Most forms now include image verification for just this reason. This article will demonstrate how to create a simplified image verification system..

comment save report
category icon

Protecting a Page with Sessions

in PHP added by Dale, on 26/7/2007 cookies and sessions login logout password secure sessions

In this tutorial you will learn how to login using a passcode to view stuff on pages that you have hidden, then also logout. It is all secured by Sessions.

comment save report
category icon

PHP Security: Sending an email

in PHP added by CombinedMinds, on 10/9/2007 email mail security

You probably wouldn't expect it, but the well known function mail() is a often a goldmine for spammers. In this tutorial we'll talk about the danger of using mail() in your PHP powered website.

comment save report
category icon

Basic image captcha

in PHP added by FiSh, on 11/6/2007 captcha gdlib image image verification security

Create a basic image captcha script for your forms.

comment save report
category icon

The 10 mistakes you should avoid with PHP

in PHP added by regindk, on 10/1/2007 advanced tutorials mysql php security

A list of the 10 most common mistakes done by PHP developers and how to avoid them.

comment save report
category icon

Allowing Registration-Required Binary Downloads

in PHP added by goodphptutorials, on 24/2/2006 downloads mp3 pdf php4 protection registration security

You have a great PDF, MP3, or binary file to distribute, but you want to know who's downloading it. How hard could it be to write a little PHP program to require registration before letting your goodies loose? Robert Bernier demonstrates that it's actually pretty easy.

comment save report
category icon

Top 7 PHP Security Blunders

in PHP added by goodphptutorials, on 23/12/2005 security variables

PHP has many features that are friendly to beginning programmers. However, many of these features can lead a programmer inadvertently to allow security holes to creep into a Web application.

comment save report
category icon

PHP Security: GET - include

in PHP added by CombinedMinds, on 4/10/2007 get include security

You often find websites with serious but simple to fix security flaws. In this series we will talk about this. This time about GET - include problems.

comment save report
category icon

PHP Abstract Episode 1 - PHP Secuity Tips

in PHP added by CalEvans, on 6/6/2007 podcast security

Eli talks to us about practical tips you can use to help make your application more secure.

comment save report