Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie里的httpOnly有什么作用? #62

Open
zhuguly-zz opened this issue Sep 14, 2020 · 0 comments
Open

Cookie里的httpOnly有什么作用? #62

zhuguly-zz opened this issue Sep 14, 2020 · 0 comments

Comments

@zhuguly-zz
Copy link
Owner

当httpOnly值为true时,浏览器不允许脚本操作document.cookie更改cookie,可以避免跨站点脚本攻击xss
题目来自饥人谷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant