News for hackers. Stuff that matters.
Re:Is it OK to hold credit card numbers in cookies, Santander? by krapp on Monday October 15, 2012 @11:17AM (#4655408)
Maybe a naive question/response on my part but why not rather encrypt it and hold it in a session? Or if you have to put something in a cookie, just a reference that points to some data on the server like an id, which has no real meaning to the end user?
Re:Is it OK to hold credit card numbers in cookies, Santander? by sopooneo on Monday October 15, 2012 @12:26PM (#4655755)
I may be missing something, but what does it mean to "hold something in a session" if not to either (1) store it in a cookie (encrypted or not) or (2) store it server-side with a token stored in a cookie pointing to it?
Re:Is it OK to hold credit card numbers in cookies, Santander? by krapp on Monday October 15, 2012 @12:33PM (#4655795)
I meant storing it on the server - just preferring not to have any actual cc data on the cookie, even obfuscated or encrypted. It may be a distinction without a difference, though, I honestly have never dealt with anything more complex than your basic 'hash username and password and check the hash when they login' scheme.
Re:Is it OK to hold credit card numbers in cookies, Santander? by joevandyk on Monday October 15, 2012 @12:07PM (#4655673)
That means holding the credit card information on the server. Seems safer to hold it temporarily on the client.