文件名称:fastify-fast-helmet:Fastify的重要安全标头
文件大小:62KB
文件格式:ZIP
更新时间:2024-05-20 06:43:30
helmet fastify-plugin JavaScript
固定快速头盔 Fastify的重要安全标头 为什么? 您可能知道是用于fastify的头盔插件。 那么,为什么我做了这个插件? 该插件使用一组头盔插件代替头盔中间件进行固定。 您可能会在找到原因,并希望您喜欢它。 :) 外挂程式 fastify-fast-helmet是设置HTTP标头的12个较小的中间件功能的集合。 模块 选项 描述 默认? contentSecurityPolicy 用于设置内容安全策略 expectCt 用于处理证书透明度 dnsPrefetchControl 控制浏览器DNS预取 ✓ 固定框架后卫 frameguard 防止点击劫持 ✓ 固定隐藏 hidePoweredBy 删除X-Powered-By标头 ✓ 固定-hpkp hpkp 用于HTTP公钥固定 固定 hsts HTTP严格传输安全性 ✓ 固定即不开放 ieNoOpe
【文件预览】:
fastify-fast-helmet-master
----.eslintrc.yml(34B)
----.gitignore(914B)
----package.json(2KB)
----package-lock.json(256KB)
----src()
--------index.js(1KB)
----.travis.yml(80B)
----LICENSE(1KB)
----ava.config.js(184B)
----README.md(4KB)
----.coveralls.yml(70B)
----benchmarks()
--------benchmark.txt(737B)
--------helmet.js(242B)
--------benchmark.js(1KB)
--------config.js(87B)
--------self.js(236B)
--------pure.js(181B)
----.prettierrc.yml(218B)
----test()
--------test.js(2KB)
----.editorconfig(193B)