Skip to content

Commit 40d213e

Browse files
authored
Snailclimb#536 修复描述 Cookie 存储敏感信息注意事项语句不通顺问题
1 parent 888dfc8 commit 40d213e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/network/计算机网络.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Cookie 和 Session都是用来跟踪浏览器用户身份的会话方式,但
287287

288288
Cookie 数据保存在客户端(浏览器端),Session 数据保存在服务器端。
289289

290-
Cookie 存储在客户端中,而Session存储在服务器上,相对来说 Session 安全性更高。如果使用 Cookie 的一些敏感信息不要写入 Cookie 中,最好能将 Cookie 信息加密然后使用到的时候再去服务器端解密。
290+
Cookie 存储在客户端中,而Session存储在服务器上,相对来说 Session 安全性更高。如果要在 Cookie 中存储一些敏感信息,不要直接写入 Cookie 中,最好能将 Cookie 信息加密然后使用到的时候再去服务器端解密。
291291

292292
## 十一 HTTP 1.0和HTTP 1.1的主要区别是什么?
293293

0 commit comments

Comments
 (0)