Thursday, August 6, 2009

Password protect a webpage on any host

Password protect a webpage on any host
As we know that many freehosts don`t allow password protecting pages
Lets password protect a page ourselves using a simple javascript smile.gif

Now we suppose my page`s html code is the following:-



Testing Password


This was just a test



Now we need to modify the code a bit to add the script.
Modify the above code like this:-




Testing Password



This was just a test



And just save it

DON`T FORGET TO CHANGE "YourPasswordHere" WITH YOUR PASSWORD

No comments:

Post a Comment