How to protect a page on my website using Password?

Status
Not open for further replies.

aditya.shevade

Console Junkie
Hi

I am creating a website and I want to know how will I be able to protect a page by giving a password, so that only those who know the password will be able to read it. Can anyone tell me how to do that?

Aditya
 

planetcall

Indian by heart
the best answer would be to get a good book of the technology you like to work with. For your question a basic javascript is good enough but that is not something practical. Get ASP.NET, JSP, PHP etc. Buy a good book :)
I hope it helps
 

blueshift

Wise Old Crow
These links will help you.

Article:
*personalweb.about.com/cs/securityprivacy/a/312password.htm

Software:
*www.htmlpassword.com/

JS Codes:
*javascript.internet.com/passwords/
 

RCuber

The Mighty Unkel!!!
Staff member
@aditya.shevade what technology are you using? ASP.NET ,PHP or others? .. You can use javascripts, but then your scripts can easily been seen in the source.
 

kalpik

In Pursuit of "Happyness"
Or you can also use .htaccess files. I really dunno how they work, so cant guide you there. But a quick google should get you started. IMHO, its easiest of all the methods.
 

it_waaznt_me

Coming back to life ..
Yeah .. You should put access restriction on the folder with .htaccess (This works on Unix / Linux servers) ..
Check this
 
Status
Not open for further replies.
Top Bottom