...

View Full Version : Need Help On Javascript! Please! :-)



jonester
07-08-2007, 12:40 AM
:confused: I am created a website and I want a page to be displayed like (google.com) if the correct password is in the JavaScript document. After getting help I will encode it to prevent people from knowing the password.

I don't want a password prompt. Just a password in the script. And if the password is correct have the page automatically redirect you to another page.

Thank you so much!:thumbsup: :) :p [/SIZE]

_Aerospace_Eng_
07-08-2007, 06:00 AM
The likely reason no one has helped you yet is because javascript is not the solution for password protection. People can STILL see it in the source.

You need to use a server side language for this.

jonester
07-08-2007, 05:04 PM
The reason is, I am encrypting the code.

Philip M
07-08-2007, 06:02 PM
The reason is, I am encrypting the code.

Any client-side encryption is quite insecure.

Nor do I understand what you mean by
" ....... if the correct password is in the JavaScript document."

Are you quite sure that you know what you are doing?

jonester
07-10-2007, 02:29 AM
Yes, I know what I'm doing. I have a mission. It is just going nowhere. Because my field is not javascript.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum