Scriptsmount a free web scripts directory provides website scripts, webmaster scripts, web directory scripts, directory scripts, php scripts, perl scripts, cgi scripts, html scripts, database scripts, asp.net scripts, form scripts, guestbook scripts for webmasters
Web Scripts :: PHP :: PHP Tips and Tutorials :: Security
13.
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.
Hits: 41 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Security
|
16.
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.
Hits: 25 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Security
|
18.
Running PHP Scripts Securely
|
|
Connecting to a database requires that passwords be included in the script at some point. This information may be exposed if you do not wrap your PHP scripts. Protecting your scripts from prying eyes is called "wrapping." When you wrap a script, it is called by another script that hides your script and performs a number of security checks to ensure only authorized use is made of it. This article covers how to use a script wrapper.
Hits: 30 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: Security
|
|
|
|
|