News for hackers. Stuff that matters.
Re:I’m sorry, but were you actually trying to remember your ... by owenmarshall on Monday August 15, 2011 @09:35AM (#2886803)
What happens when someone hits your app from a library computer? From behind a proxy? Have you thought about what happens when their IP changes?

Stop. You are inventing a crazy homebrew authentication system here. One great way to absolutely fuck your site's security is through crazy homebrew authentication/authorization/cryptography.

Do it right, don't do it yourself.

Re:I’m sorry, but were you actually trying to remember your ... by sapphirecat on Monday August 15, 2011 @11:50AM (#2887369)
> Have you thought about what happens when their IP changes?

++. When I was walking this road, I answered that question with "I'll use the user-agent instead!" Then I checked that assumption, and the Internet told me that could vary between requests as well. That was the key insight (you can't trust anything) that put me on the road to a much more standard system. (But probably still insecure, since I was younger and working for someone with NIH syndrome.)