开发者

HttpSession safe

Where is servlet HttpSession stored?

Is it safe to store sensitive information in HttpSession attribut开发者_JAVA技巧es.

Can user maliciously modify session attributes?


Where HttpSession is stored depends on the application server implementation and the configuration selected by the deployer. Usually it is stored in memory, but many application servers allow you to persist it in a database. In any case the session is stored in the server and not in the client.

If as user you mean the client, then it is impossible for him/her to modify it, as it is stored server-side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜