Re:Foursquare iPhone app sends passwords in plain text, don'...
by k0ban on Monday September 06, 2010 @05:11AM
(#1666300)
I agree don't use IP as a part of token - it will require user to re-authenticate very often.
And don't forget about the salt. Store password something like SHA-1(MD5(password)+password)
The IP checking bit is probably not a good idea. A mobile phone user can be switching between 3G and a public Wifi hotspot as he goes. It can negatively affect user experience.