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

browse by tag: security

sort by

newest, oldest, most popular


category icon

How To Safely Store A Password

in PHP added by goodphptutorials, on 13/12/2010 bcrypt beginner tutorials security

These are all general purpose hash functions, designed to calculate a digest of huge amounts of data in as short a time as possible. This means that they are fantastic for ensuring the integrity of data and utterly rubbish for storing passwords.

comment save report
category icon

Preventing MySQL Injection

in PHP added by rosstanner, on 30/4/2012 MySQL injection database databases mysql php php5 security

In this tutorial I am going to explain what MySQL injection is and how important it is to prevent this attack on your database(s). It is vital that all security measures are in place before you make your website live because the effects can be devastating especially if you store sensitive data.

comment save report
category icon

Creating a simple login script with php and mysql

in PHP added by ineedtutorials, on 31/12/2007 beginner tutorials content management mysql security

Learn to create a simple login system with php and mysql in 7 simple steps

comment save report
category icon

Creating a secure PHP contact form

in PHP added by sneakybox, on 6/10/2009 contact form mysql php5 secure

An in-depth tutorial explaining how to create a spammer-stopping PHP contact form for your website.

comment save report
category icon

User authentication with a secure cookie protocol in PHP

in PHP added by goodphptutorials, on 14/2/2010 advanced tutorials authentication cookie hmac security

The use of cookies introduces a few security issues. The data in the cookie is stored in plain text and can easily be modified or hijacked. Liu et al. (2005) propose a secure cookie protocol which we will use as a guideline in this example.

comment save report
category icon

Complete advanced login member system

in PHP added by ineedtutorials, on 17/1/2008 advanced tutorials content management database login mysql security

This tutorial will show you how to create an advanced member login system with PHP, users can register, change password, email activation is included.

comment save report
category icon

Image watermark with PHP

in PHP added by webmonitore, on 22/5/2009 advanced tutorials beginner tutorials content management general php5 security

To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial.

comment save report
category icon

The Horrors of C99.php

in PHP added by goodphptutorials, on 22/2/2010 c99 security

If you were a sysadmin a few years ago, and you had php on your servers, you’re probably already familiar with c99.

comment save report
category icon

5 Helpful Tips for Creating Secure PHP Applications

in PHP added by goodphptutorials, on 3/1/2009 advanced tutorials security

PHP is one of the most popular programming languages for the web. Sometimes a feature-friendly language can help the programmer too much, and security holes can creep in, creating roadblocks in the development path. In this tutorial, we will take a look at 5 tips to help you avoid some common PHP security pitfalls and development glitches.

comment save report
category icon

Secure File Upload with PHP

in PHP added by Nolte, on 18/1/2007 file handling file upload security tips

PHP makes uploading files easy. You can upload any type of file to your Web server. In spite of security issues that should be addressed before enabling file uploads, the actual mechanisms to allow this are straight forward. In this tutorial we will consider how to upload files to some directory on your Web server. We will also discuss security issues concerned with the file uploading.

comment save report
category icon

10 Advanced PHP Tips Revisited

in PHP added by goodphptutorials, on 23/4/2009 beginner tutorials security tips

Because of PHP's huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

comment save report
category icon

How to Generate a Random Password for Users

in PHP added by Walkere, on 10/2/2008 beginner tutorials password php5 security users

This tutorial shows you how to create a random, 8-character password to use in your user-management system.

comment save report
category icon

The Truth about Sessions

in PHP added by goodphptutorials, on 22/10/2008 advanced tutorials security session

Nearly every PHP application uses sessions. This article takes a detailed look at implementing a secure session management mechanism with PHP. Following a fundamental introduction to HTTP, the challenge of maintaining state, and the basic operation of cookies, I will step through simple and effective methods that can be used to increase the security and reliability of your stateful PHP applications.

comment save report
category icon

Creating a CAPTCHA image with security code to validate forms

in PHP added by tutorialhelpdesk, on 5/3/2008 captcha form validation image security

In this tutorial you will learn to create a security code image generator, or a CAPTCHA image, that is so helpful against spammers.

comment save report
category icon

PHP and AJAX - Make a Password Strength Bar that Updates in Real-time

in PHP added by scott25, on 2/2/2009 beginner tutorials databases general mysql security

This tutorial will show you how to make a very simple feature which will help your users make more secure passwords, in registration forms. After the user types their password, this script will make a request to a PHP page, which will check the password for lowercase letters, uppercase letters, numbers and symbols. Without reloading the page, a bar displaying the strength of the password will be shown to the user.

comment save report
category icon

Introduction to SQL Injection

in PHP added by iDemonix, on 8/12/2008 beginner tutorials database injection mysql security sql

In this tutorial we look at the issue of SQL injection, how the attackers use it, the problems that can arise and methods of prevention using PHP.

comment save report
category icon

Better Sessions

in PHP added by goodphptutorials, on 25/10/2007 cookies and sessions ip security session hijack

Sessions have inherent problems, as most developers know. A session ID can be easily hijacked, and that can cause major problems with security in a website. There are ways around this - in PHP you can set up sessions so that the session ID can only be transmitted using cookies, but then you prevent those without cookies from logging in. One way around this problem is to tie your session ids to the user's IP address.

comment save report
category icon

Decoding a User Space Encoded PHP Script

in PHP added by goodphptutorials, on 14/5/2010 advanced tutorials encryption security

Every once in a while a new PHP encryption tool/service pops up and offers PHP “encryption”. Therefore the idea behind php-crypt that was announced today in the PHP Development forum of Xing is nothing new. Infact there are two types of PHP encryption systems source code obfuscators/encryptors/encoders and bytecode obfuscators/encryptors/encoders.

comment save report
category icon

Login - Logout with a Session in 1 file

in PHP added by goodphptutorials, on 13/1/2007 security session user user authentication

Create a file for Login and Logout (PHP + MySQL) using with a SESSION variable. This file contains Login form, Login authorize program and Logout program.

comment save report
category icon

SQL Injections in PHP with MySQL

in PHP added by goodphptutorials, on 16/3/2006 get post security session sql injection

SQL injections are a major security risk in many PHP applications. Injections are caused when a web developer allows the end-user to manipulate a variable that is being inserted into a database query string, generally through the $_GET, $_POST or $_SESSION superglobals

comment save report
category icon

Apache Tips and Tricks: Hide PHP version (X-Powered-By)

in PHP added by goodphptutorials, on 30/12/2007 apache headers security

You can configure apache to provide only a minimal amount of information about the installed software versions in its banner. But if you are using the PHP module in your web server (as most of us are), then there is one additional step that need to be completed, and this is what I will show you in this tip.

comment save report
category icon

PHP Security Image

in PHP added by goodphptutorials, on 3/4/2006 captcha image media security

This in depth tutorial will show you how to create a security image to prevent bots from flood-registering your site.

comment save report
category icon

Random Password Generation

in PHP added by clearnetwork, on 15/7/2008 beginner tutorials general random security

A common feature found on many websites upon user registration are random passwords. This tutorial will walk you through a script that generates a random password to a given length.

comment save report
category icon

The fastest way to see how many people are online at your site

in PHP added by Nikolas, on 2/9/2007 cookies and sessions online security session

A quick way to see how many people are browsing your site for php enabled web sites.

comment save report
category icon

The adventure of PHP and the magic quotes

in PHP added by goodphptutorials, on 19/12/2008 beginner tutorials compatibility security

Back in PHP 2, the “magic quotes” setting seemed like a great idea. It would automatically escape all of your input so you didn’t have to worry about those pesky SQL injections. Any dodgy characters entered by the user would be automatically escaped by a backslash.

comment save report