CISC 4322 Lab #9 (due: Friday 4/13)
Last week we created a phone table in our database, loaded data and accessed that data through a php script (phone.php). This week, we are going to create a secure directory where data can only be accessed with a proper password.



1. Run this script to help you create a ".htpasswd" file ( htpasswd_maker.php ).
2. Create a local text file (.htaccess) that contains the password information gleaned from step 1. this file will go in your "/home/username/" directory.  use scp to move the file there ( make sure it has the right name )
3. Use scp and create a direct "secure" in your "/home/username/public_html" directory. 

4. You will also need to create a ".htaccess" file in your "/home/username/public_html/secure" directory.  It should contain the following: 

5. Move your (phone.php) to your secure directory. (***) this will need to be demonstrated in Mondays's class and to be checked off. 

Instruct check off here:__________

6. Add this dynamic php query script ( sel-first.php ) to your secure area. You will need to make several changes to the current script to get it working...
(***) this will need to be demonstrated in Mondays's class and to be checked off. 

Instruct check off here:__________

7. The two scripts should be linked from your web-experiments page. Remember that the links should use "https:" to make sure all data in encrypted in both directions.