1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-25 02:27:10 +08:00

#536 修复描述 Cookie 存储敏感信息注意事项语句不通顺问题

This commit is contained in:
Rustin 2019-11-11 16:29:15 +08:00 committed by GitHub
parent 888dfc8411
commit 40d213e265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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的主要区别是什么?