PDA

View Full Version : How do i add a password to a site?



Formula1
10-11-2006, 10:20 AM
Hi, i created a cgi proxy site for my own benefit. It seems that people are able to find it through google and use it as they wish. If this continues, my school could block this site from their network. So, how do i add a password to it, so that when it gets there a popup asks for username and password? also this site allows me to upload stuff by ftp..

mikeco
10-11-2006, 06:53 PM
i dont know CGI, but i could send u the code of the PHP proxy i use and add a small script to password protect it for u.

hope that can help u.

Formula1
10-11-2006, 11:40 PM
feel free to pm it to me if it helps.

ssj4gogeta
10-12-2006, 12:31 PM
just use a .htaccess to add a password to the dir where the script is stored.