diff options
author | Pacien TRAN-GIRARD | 2015-02-05 17:42:38 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-02-05 17:42:38 +0100 |
commit | c30d0b96c3e2958126c7eceab82f7b8aafabab54 (patch) | |
tree | 98d7fc3295d613cda54ec54426932f45c34ecbc8 /app | |
parent | eb4676973b201e375f6fe144e93977ca39b5fd09 (diff) | |
download | minibay-c30d0b96c3e2958126c7eceab82f7b8aafabab54.tar.gz |
Add security filters
Diffstat (limited to 'app')
-rw-r--r-- | app/Global.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Global.scala b/app/Global.scala new file mode 100644 index 0000000..2723d67 --- /dev/null +++ b/app/Global.scala | |||
@@ -0,0 +1,8 @@ | |||
1 | import play.api._ | ||
2 | import play.api.mvc._ | ||
3 | import play.filters.csrf.CSRFFilter | ||
4 | import play.filters.headers.SecurityHeadersFilter | ||
5 | |||
6 | object Global extends WithFilters(SecurityHeadersFilter(), CSRFFilter()) with GlobalSettings { | ||
7 | |||
8 | } | ||