andybeeeeee
09-20-2005, 11:28 AM
Hi there
i'm using a javascript for a password protected part of my site as its the easiest way of doing it imo. the only trouble i'm having is that people can view the source of my page and find the address for my javascript. they can then go into the script and get the username and password, thus negating the point of having a password protect part!
i've tried changing the chmod properties of the java script, but if i make it so that the world cant read it, it doesnt actually function at all. i've also tried putting it in the private part of my website, but that has the same affect as the above.
can anyone help me by telling me how i can make it so that people cant get into my javascript, but still have it so that it functions...
if thats not possible i need another way of password protecting pages on my site...
thanks, andy
i'm using a javascript for a password protected part of my site as its the easiest way of doing it imo. the only trouble i'm having is that people can view the source of my page and find the address for my javascript. they can then go into the script and get the username and password, thus negating the point of having a password protect part!
i've tried changing the chmod properties of the java script, but if i make it so that the world cant read it, it doesnt actually function at all. i've also tried putting it in the private part of my website, but that has the same affect as the above.
can anyone help me by telling me how i can make it so that people cant get into my javascript, but still have it so that it functions...
if thats not possible i need another way of password protecting pages on my site...
thanks, andy