![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
安全
冬之松柏
编程是一门艺术,赚钱是一种思维!
展开
-
php环境下的cookie漏洞
配置nginx.confserver下 add_header Set-Cookie "HttpOnly"; add_header Set-Cookie "Secure"; add_header X-Frame-Options "DENY";如图:...原创 2019-04-28 17:17:18 · 595 阅读 · 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 · 805 阅读 · 0 评论