Skip to content

Jahia/jahia-csrf-guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jahia CSRF Guard

This module will add CSRF token protection on all call to a Jahia Action. It's based on OWASP CSRFGuard library.

How to upgrade OWASP CSRFGuard

Minor version

Upgrade to a minor version should be seamless but you will have to compare the csrfguard.template.js with its original version to merge the changes.

Major version

It will depend of the changelog and breaking changes of the version, but again here do not forget to compare the csrfguard.template.js with its original version to merge the changes.

Minification

Minify the template using the following command :

terser -m -c conditionals=false -f quote_style=1 -- src/main/resources/META-INF/csrfguard.template.uncompressed.js

Open-Source

This is an Open-Source module, you can find more details about Open-Source @ Jahia in this repository.