homepage Welcome to WebmasterWorld Guest from 54.197.65.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Professional Webmaster Business Issues
Forum Library, Charter, Moderators: LifeinAsia & httpwebwitch

Professional Webmaster Business Issues Forum

    
Password security
finding a cost efficient solution and legal issues
bodhi55

10+ Year Member



 
Msg#: 353 posted 8:25 pm on May 5, 2002 (gmt 0)

I am a first time poster but have been devouring most of this site for about 6 months. No need to say I love this site.

After all these internet years the legal aspects regarding password security still seems to be unclear at best. Webmasters have several options regarding password security at their disposal, none of which seem to be a clearcut choice for tiny startup websites that need to operate under a small budget constraint (perhaps at first just to test the waters). There are many commercial websites which require password security not for collecting visa numbers and there is no risk of direct financial losses, but rather for protecting their users for various reasons. Some examples: EBay could use it to protect user bids, Yahoo could use it for access to email, Webmasterworld.com could use it for authenticating users before posting).

I have come up with the following 5 options and wonder what others opinions are on this:

1) Encrypt the login session using SSL.
At first glance this seems the most obvious solution, however the big drawback is the cost of $300+ which to a tiny business just starting and looking to test the water first is a significant cost. Additionally, for each website add another $300+. An ideal solution would not carry an additional $300+ for each additional website.

Also, SSL through web browsers is not 100% safe (although the SSL vendors don't really bring up this fact). For instance, an attacker could use a combination of subverting the websitge DNS and add their own SSL server cert to the users web browser or trusted root store.

2) Password sent over the network in the clear through a POST form.
This method is extremely insecure since an attacker could simply sniff the password over the network. However, there are plenty of websites (My Yahoo [my.yahoo.com], EBay [ebay.com], WebmasterWorld.com [webmasterworld.com]) which still use this method and this fact says to me that either a) the websites feel their Terms Of Service agreements or other legal pieces would support them in a court of law or b) these websites haven't been hit by hackers. Of course it is entirely possible that hackers just aren't interested in sites that do not offer any financial rewards.

Sure Yahoo and EBay offer a secure option using SSL, but this requires the user first noticing the "login securely" link underneath the main login boxes. Then I wonder what the use of such a "secure login" option is worth since if it came down to a lawsuit the user could simply claim they were never informed they needed to use the secure login option. I suppose it helps that law enforcement is increasingly hunting down these hackers and more laws are being passed against the hackers.

Is the website owner protected if the Terms Of Service agreement mentions that the website does not protect against password sniffing?

3) RFC2617 and "Digest Authentication"
This method securely authenticates the user to the website and at no cost to the website, however it does have the drawback in that it seems only IE 5+ has implemented the protocol and supports it. A clause could be added to the Terms Of Service that informs the user if they use IE 5 or above then the website can protect their passwords (to an extent), however I wonder if this would hold up in a court of law or even worse face the possibility of turning potential customers away (the antithesis of a small company).
Also RFC2617 does have a slight hurdle in that the password needs to be communicated securely between the two parties in some fashion, but even on a large scale website this could be tackled with a simple email solution where the attacker would need to be listening for longer periods of time to gather enough information about a user - probably more effort than it's worth.

4) Java applet that gets downloaded and encrypts the password with an RSA public key.
This would use asymmetric key pair and the applet would contain the public key that the applet uses to securely encrypt the users password before it gets sent to the website. The big disadvantage to this is the differences of Java version support in various web browsers.

Also this method also has the weakness that an attacker could hijack the DNS of the website and act as a proxy where the user enters the password to the fake Java applet, then store that, and at the same time forward it on to the real website and return the response back to the user who is none the wiser. Of course this would be significant trouble for the attacker just to enter invalid data on behalf of a user and disrupt the website service.

5) JavaScript that encrypts the password with an RSA public key.
There is a JavaScript implementation of RSA [shop-js.sourceforge.net] that looks like it is in the late stages of completion. The biggest disadvantage with this method would be the speed or slowness and users would most likely notice some lag. However this lag could be countered by decreasing the key length to something like 512-bits which would certainly be sufficient for our purpose [itsecurity.com] due to the amount of effort required to brute force crack the key. Even if a 512-bit key would be used, it can be assumed that in 2 years time this would either be increased to 1024-bits or even possibly by then we could switch to RFC2617 Digest Authentication method since presumbably more web browsers would have implemented this.
The big advantage to this method would be that a one-script-works-for-all is highly likely possible to simplify things.

Comments from anyone with opinions or experiences on this subject? Also, does anything change from a legal perspective if a subscription fee is charged by the website? What if the Terms Of Service is somehow forced to be read?

 

ggrot

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 353 posted 9:13 pm on May 5, 2002 (gmt 0)

Great Post!

1) With the SSL option, you could easily avoid paying $300 per site. The simplest thing to do is have the authentication for all your sites occur under one domain. Then set a session variable and return to the originating domain. Session variables can be made fairly secure, even if they are not encrpyted, by associating the session with a single ip address server side. If the address of the user changes, the session immediately becomes invalid and logging in another time is required. The only problem with this method is that the only item being encrpyted in the user/server interaction is the password.

Also, is it not possible to use SSL without registration through verisign/thawte? The only downside here is the warning message that pops up doesn't exactly instill customer confidence.

2) There is an argument for the POST method, especially on sites like webmasterworld. The risk is that your password is compromised and identity theft can be performed on the boards. The partial solution is to revert damages. The owner of the account and thus domain name should be able to recover a password and change it. An administrator should be able to remove messages by the identity thief.

3) User Agent detection could theoretically deliver this method of authentication invisibly to all users who support it.

4) Java is bad idea. There are compatibility issues and download time increases significantly.

5) I suspect that the lag time here wouldn't be terribly high. You could also have javascript test itself to get a rough estimate of it's own calculations/time capability (some loop that runs for a tenth of a second for example) and select an encryption level based on that. Combine it with user agent delivery of #3, and that would be a reasonably strong combination. Would it hold up in court? Maybe not.

IanTurner

WebmasterWorld Administrator ianturner us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 353 posted 10:26 pm on May 5, 2002 (gmt 0)

I have a couple of others to add to your list for high security sites.

USB Identity keys
Fingerprint authentication

The first requires you to send a physical authentication key to the user with a password encoded into the key. This method is available for IE and NS

The second requires the user to have a fingerprint scanner on their machine. This method is available for IE only as far as I know.

bodhi55

10+ Year Member



 
Msg#: 353 posted 10:12 pm on May 8, 2002 (gmt 0)

Thanks Ggrot, regarding your SSL suggestion, it would be nice to try to avoid SSL totally. If someone is trying to start small and with just one site then paying the $300 adds up quick, especially if you just want to test the waters for an idea and don't want to get sued or something. Also, SSL seems like overkill if there are no visa numbers to protect.

Regarding #2, I wonder what a site like EBay does when an invalid user enters a bid. One would think that if EBay can get away with an insecure solution like they do, then surely smaller websites could too. Is it just that they pay their lawyers enough and consider it a cost of doing business? Or is it the fact that they offer both secure and insecure methods and somehow this is enough?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Professional Webmaster Business Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved