Version: 2.1.2 (latest)

En-têtes HTTP de Protection

You are reading the documentation for version 2 of FoalTS. Instructions for upgrading to this version are available here. The old documentation can be found here.

To protect the application against some (!) common attacks, FoalTS sets by default various HTTP headers. These can be overrided in the HttpResponse objects.

Note that this is not a silver bullet, it is just a little help.

Header nameValue
Strict-Transport-Securitymax-age=15552000; includeSubDomains
X-XSS-Protection1; mode=block