3 ms·
As I was recently doing some reading, it seems like the cookie stealing could be made more difficult by adding something harder to fake? I think for flask-logi
by dmritard96 12y ago
As I was recently doing some reading, it seems like the cookie stealing could be made more difficult by adding something harder to fake? I think for flask-login they add in the ip and user agent. https://flask-login.readthedocs.org/en/latest/#session-protection https://flask-login.readthedocs.org/en/latest/#session-prote...
This probably wouldnt work given that I am assuming its the external IP and a user agent is pretty easy to copy/clone.
Seems like there should be another value mixed in that might be hard to figure out for a third party behind the same NAT.
- apendleton 12y agoIP can cause weird behavior for mobile, since it changes all the time, especially if they hop onto/off of wifi. User agent is trivial to fake.