3 ms·
Can you share maybe the code you're using to do that? As well: rotating the secret token every night could probably be used to discard all existing cookies, ri
by thibaut_barrere 13y ago
Can you share maybe the code you're using to do that?
As well: rotating the secret token every night could probably be used to discard all existing cookies, right? (although this is a bit brute force and will kick out anyone currently using the app).
- epochwolf 13y agoNope. The last version I wrote is buried in a rails app at a company I no longer work for. It's a three or four line before filter in the application controller. I reimplement it every time since it's relatively simple. I don't have it on any public code since it's also the last thing I implement before launching.