How can I provide secure authentication with Javascript?
Client side Javascript cannot be used to provide secure authentication for Web sites because all the code would be accessible to users. Anyone with a reasonable knowledge of Javascript could use the source code to decrypt the authentication details and gain access. A robust authentication system can only be implemented using server side techniques. Methods vary according to the Web server you use, but lots of pointers are available from Google, search for HTTP authentication. Actions: Follow-up, clarify or correct this answer. Submit a new question.