安全
冬之松柏
编程是一门艺术,赚钱是一种思维!
展开
-
php环境下的cookie漏洞
配置nginx.conf server下 add_header Set-Cookie "HttpOnly"; add_header Set-Cookie "Secure"; add_header X-Frame-Options "DENY"; 如图: ...原创 2019-04-28 17:17:18 · 600 阅读 · 0 评论 -
nginx配置支持跨域
http模块里面: add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Headers X-Requested-With; add_header Access-Control-Allow-Methods GET,POST,OPTIONS;原创 2019-07-13 16:22:12 · 807 阅读 · 0 评论