Add to Favorites    Make Home Page 26974 Online  
 Language Categories  
 Our Services  

PHP » Tips and Tutorials » Security » Writing Secure PHP Code


Search Projects & Source Codes:

Title Writing Secure PHP Code
Platform n/a
Author Visit Author Website
Website Visit Website of - Writing Secure PHP Code
Category PHP » Tips and Tutorials » Security
Hits 695
Description This article will guide you through writing secure PHP code and covers many of the common security pitfalls one will encounter while making php applications. Covers things such as register globals, SQL injection, include files, and demonstrates how to protect against those kind of attacks. Anyone new to PHP, and even some more experianced people, should read this before deploying thier application.


Google Groups Subscribe to SourceCodesWorld - Techies Talk

Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.

Scripts Related to - Writing Secure PHP Code

Script Name

Simple Security and Sessions in PHP

This article demostrates an easy way to maintain sessions and security (or authorization) in PHP. It does NOT use the PHP built in session support. The following method will allow you to easily secure any PHP page by simply including a file at the top of every page. In this tutorial you will: a) Create your database structure; b) Create a login page; c) Create your security check include file; d) Secure your site. Update: I fixed a couple of bugs in the article. Thanks for the feedback Update to the update: I have fixed the article text to include the code that was missing due to the previous update.

Create a random password

Nice little function that will generate a completely random password.

PHP Honey-Pots

The concept of a "honey pot" is a very popular and interesting topic in computer security. Gives some information on how you can use PHP to setup these hacker traps.

Crypt and User Validation

Tutorial covering the basics of encryption and how to apply it to user validation, including a sample script to try out.

Security 101 - Client Side

This tutorial will show you things to be aware of when coding PHP, so that your code is more secure, and less hackable.

Protect Your Website From Leaching Programs

This article explains how to stop those Website download leach programs from downloading your content using PHP.

Protecting PHP Scripts with HTTP Authentication

Protect your PHP Scripts using the most efficient method: HTTP Authorization, as implemented in PHP. Using this tutorial, you'll learn how easy it is.

How to protect PDF files using PHP

This tutorial explains how to safely hide away PDF files from public access using htaccess, but then having a PHP file run its own authorization to allow access to the file without the Network Password dialog box. The PDF file will be displayed in the browser (if the user has acrobat reader) or promoted to download the pdf file if the user doesn't have acrobat reader. This is perfect for when you want to restrict PDF files to authorized eyes only. This simple to use tutorial will have you up and running in a few minutes, one page of info with full source code, and working examples.

Encryption Tutorial

This article describes the why and how of real-life data encryption, covering PGP and GnuPG, and using PHP and the mcrypt and mhash libraries.

Running PHP Scripts Securely

Google Search


Source Codes is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions
Copyright ©2003-2019, All Rights Reserved.
Page URL:

Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review