i got a website, and i want to protect one page. the problem is, i can't use .htaccess due to some curcumstances (excuse the spelling).
now i use javascript on one page. the problem is, that if you view source on a page (ie: right click on the page, and select view source), you can see the password. is there a way i can hide that text, so that when they view source, that does not show. can that be done? or if there is another password method i should use. any lanuage would do good. thanx
Create an encrypt function in javascript to process your input and compare the result to an encrypted version of your password. It doesn't have to be too complex to confuse most casual viewers of your code. That should be good enough to keep out 95% of people, the remaining 5% you probably can't keep out without some really serious programming.
that works fine. thanx a mil.
but that chance of the password getting out is still there...
will it be better just to use php lanuage to call another file, thats not displayed?
and checks the password from previous page, then forwards it to the protected page if its correct. that should be ok.
i think i'll do it that way then....
thanx a mil
if anyone can give a shorter way, i would appreciate it. thanx