I am trying to create a similar way to Cpanel password protect directory, where a pop up comes out asking the user for a username and a password, but Cpanel way is amazing but my client doesn't know anything on how to do that, so i wanted to create a pop up msgbox informing the visitor to enter a user name and a password, and i totaly confused on how to create it, and which programming language support similar to CPanel
+3
A:
Create .htaccess With basic authentication (running from web browser). You must create users and password file. You may fing many maunals on web about it. For example: http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
Svisstack
2010-04-17 17:05:17
There also is an online tool for generation of htaccess and htpasswd files: http://www.clockwatchers.com/htaccess_tool.html, very useful.
Techpriester
2010-04-17 17:10:50
+1
A:
You'll want to protect the page with .htaccess.
There is a guide on how to do this here.
Sebastian P.
2010-04-17 17:05:47