阅读背景:

为Rails编写加密的cookie会话存储;我的方法安全吗?

来源:互联网 

By default, Ruby on Rails stores session data in cookies. This has many advantages, such as the lack of need to setup any persistence layers on the server side. However, the session data is not encrypted, and the Rails app that I'm writing puts potentially sensitive data in the session. I'd like to avoid storing session data server-side if possible, and the only existing encrypted cookie store implementation for Rails seems to be abandoned, so I'm writing my own encrypted cookie store.By default, Ruby on Rails stores session data i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: