プロジェクト
概要
🛡 HTTPヘッダーとミドルウェアを使って、OWASPのセキュリティパターンと原則に従うようアプリを自動設定します
セキュリティ・プライバシーできること
- Security response headers (including CSP for SSG apps)
- Request Size & Rate Limiters
- Cross Site Scripting (XSS) Validation
- Cross-Origin Resource Sharing (CORS) support
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -1
- 1か月
- +3
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルNuxt Security
Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware.
This module works with Nuxt 3.X and newer (4.X)
Features
- Security response headers (including CSP for SSG apps)
- Request Size & Rate Limiters
- Cross Site Scripting (XSS) Validation
- Cross-Origin Resource Sharing (CORS) support
- Hide
X-Powered-Byheader and remove console loggers utils [Optional]Allowed HTTP Methods, Basic Auth, CSRF
Usage
Install the module:
npx nuxi@latest module add security
And that's it! The module will now register route rules and server middlewares globally so that your application will be more secured.
Configuration
You can pass configuration to the module in the nuxt.config.ts like following:
export default defineNuxtConfig({
modules: ["nuxt-security"],
security: {
// options
}
})
For all available configuration options check out the docs.
Development
- Run
yarn dev:prepareto generate type stubs. - Use
yarn devto start playground in development mode.
License
関連プロジェクトを探す
読み込み中…
