Skip to content

Commit f905766

Browse files
authored
feat: cookie article (#1097)
1 parent 7f69d1f commit f905766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6-data-storage/01-cookie/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Cookie 的 `samesite` 选项提供了另一种防止此类攻击的方式,(
259259

260260
**因此,如果我们仅依靠 `samesite` 提供保护,那么在旧版本的浏览器上将很容易受到攻击。**
261261

262-
但是,我们肯定可以将 `samesite` 与其他保护措施(例如 XSRF token)一起使用,例如 xsrf token,这样可以多增加一层保护,将来,当旧版本的浏览器淘汰时,我们可能就可以删除 xsrf token 这种方式了。
262+
但是,我们肯定可以将 `samesite` 与其他保护措施一起使用,例如 XSRF token,这样可以多增加一层保护,将来,当旧版本的浏览器淘汰时,我们可能就可以删除 xsrf token 这种方式了。
263263

264264
## httpOnly
265265

0 commit comments

Comments
 (0)