Monday, April 2, 2012

PHP - Security

SECURITY
1.       CREATE A NEW TABLE TO HOLD THE LOGINS


     (Text – can take in numbers)

2.       Authenticating the user



    
7.       Create registration page

Create a new php file
Insert a new form for getting input from uses
Insert the necessary fields

(Maintain the same field names, both in database and in the php file to avoid confusion)

8.       Create insert record for the registration page


10.   Restrict access to all the .php files



Important for cases of user register by themselves  
 


11.   Verify that the new registration has no duplicates

13.   Create the exist.html for redirect after login

14.   Head tag… delay and then go to registration field

Window – Behaviour
Click + on behavior – to produce a pop up message

 

       

 15) Set security to all the related files..
Admin login
Login page
Add user page
Delete user page
Update user page

Inserting, updating and delete data directly from phpAdmin


Insert
 
Browse
Create adminlogin.php
Authenticate user with access level

Create main.php (for admin)

Restrict access to page (based on username, password and access level)

Z

No comments:

Post a Comment