It really depends on what your placing in the cookie before you decide to secure it. The simple solution would be to encrypt the cookie via bcryt. But its never a good idea to place sensitive data on the client side. Your cookie should really track the user session to query your database securely.
It really depends on what your placing in the cookie before you decide to secure it. The simple solution would be to encrypt the cookie via bcryt. But its never a good idea to place sensitive data on the client side. Your cookie should really track the user session to query your database securely.
So I followed the episode exactly and I'm getting 404 errors for anything in my public folder? Any ideas why...
Stack
nginx 0.7.65
unicorn
rails 3.2.3
Ubuntu 10.04
rvm latest
ruby 1.9.3-p194
I know about the rails config option to serve_static_assets, but wouldn't I want nginx to do that?
Holy crap, why have I not been using this!
This has been exploding all over the interweb lately. Thanks for the vid!