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

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


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

    A D V E R T I S E M E N T

    Want free Oracle Magazine? Apply here now!

    Search Projects & Source Codes:



    Title Writing Secure PHP Code
    Platform n/a
    Price
    Author Visit Author Website
    Website Visit Website of - Writing Secure PHP Code
    Category PHP » Tips and Tutorials » Security
    Hits 213
    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.

    A D V E R T I S E M E N T




    Google Groups Subscribe to SourceCodesWorld - Techies Talk
    Email:

    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

    Google


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


     Advertisements  

     Free Magazines

    Jobs & Career
    Freshers Jobs
    Jobs Newsletter
    Placement Papers
    Placement Papers
    GATE Preparation
    Analysis & Design Of Algo.
    Operating System
    Lexical Analysis
    GRE Preparation
    GRE Home
    1208 Antonyms Test
    5000 Word's List
    Top 100 Words' List
    Scholarships
    Top 100 CS Univ.
    Top 126 EE Univ.
    Tutorials
    Hardware Tutorial
    1500 Free eBooks
    XML Tutorial
    Webmaster Resources
    EzTraffic
    Articles
    Fun
    Send FREE SMS!
    SMS Jokes
    Love SMS
    Funny Jokes