mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
Merge pull request #537 from Rustin-Liu/Rustin-Liu-patch-1
#536 修复 Cookie 存储敏感信息注意事项语句不通顺问题
This commit is contained in:
commit
fd18f9aecf
@ -287,7 +287,7 @@ Cookie 和 Session都是用来跟踪浏览器用户身份的会话方式,但
|
||||
|
||||
Cookie 数据保存在客户端(浏览器端),Session 数据保存在服务器端。
|
||||
|
||||
Cookie 存储在客户端中,而Session存储在服务器上,相对来说 Session 安全性更高。如果使用 Cookie 的一些敏感信息不要写入 Cookie 中,最好能将 Cookie 信息加密然后使用到的时候再去服务器端解密。
|
||||
Cookie 存储在客户端中,而Session存储在服务器上,相对来说 Session 安全性更高。如果要在 Cookie 中存储一些敏感信息,不要直接写入 Cookie 中,最好能将 Cookie 信息加密然后使用到的时候再去服务器端解密。
|
||||
|
||||
## 十一 HTTP 1.0和HTTP 1.1的主要区别是什么?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user