aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-05 17:42:38 +0100
committerPacien TRAN-GIRARD2015-02-05 17:42:38 +0100
commitc30d0b96c3e2958126c7eceab82f7b8aafabab54 (patch)
tree98d7fc3295d613cda54ec54426932f45c34ecbc8 /app
parenteb4676973b201e375f6fe144e93977ca39b5fd09 (diff)
downloadminibay-c30d0b96c3e2958126c7eceab82f7b8aafabab54.tar.gz
Add security filters
Diffstat (limited to 'app')
-rw-r--r--app/Global.scala8
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 @@
1import play.api._
2import play.api.mvc._
3import play.filters.csrf.CSRFFilter
4import play.filters.headers.SecurityHeadersFilter
5
6object Global extends WithFilters(SecurityHeadersFilter(), CSRFFilter()) with GlobalSettings {
7
8}