Shield 2.0

The package @adonisjs/shield protects your applications against common web attacks. It includes protection against

  • CSRF attacks
  • XSS attacks
  • CSP (Content security policy)
  • Protection against iframe embedding
  • and many more

With this release (2.0.0), we have migrated the package to work with v5.

npm
npm i @adonisjs/shield@alpha
yarn
yarn add @adonisjs/shield@alpha