Computing.Net > Forums > Programming > HTML Security

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

HTML Security

Reply to Message Icon

Name: Troy
Date: May 14, 2003 at 09:08:28 Pacific
OS: XP
CPU/Ram: 1.7 512
Comment:

I was wondering what I have to add to my HTML webpage so that when people visit my website it prompts them for a user name and password. How do I do this?

Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: May 15, 2003 at 16:42:52 Pacific
Reply:

There isn't really a secure way to make a login via HTML and/or javascript, although I believe that there is a solution at www.dynamicdrive.com using javascript and "fuzzy logic". But, given that the javascript is available for anyone to download, I think that it wouldn't stop anyone determined to break you login.

The next step is to using some kind of server side programming: jsp, asp, php, cgi, etc. Your HTML page calls a program on the server that handles the login/password checking and returning the next page. This may not be totally secure either if you are passing the login and password thru normal HTML INPUT fields, because those are sent via clear text thru the internet, so someone who knows how to intercept them can copy and use them.

To be really secure, you'd need to either encrypt the login/password before it's sent or use SSL (https).


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: HTML Security

++HTML form to E-mail++ www.computing.net/answers/programming/html-form-to-email/3652.html

Html Email www.computing.net/answers/programming/html-email/1407.html

HTML: How to disable d/w dialog? www.computing.net/answers/programming/html-how-to-disable-dw-dialog/8135.html