summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorFlorian Scholz <FlorianScholz@bgstyle.de>2013-04-24 14:45:40 +0200
committerFlorian Scholz <FlorianScholz@bgstyle.de>2013-04-24 14:45:40 +0200
commit03aa86d8a6e6631547b72f0f01a2394784900db2 (patch)
tree4632a1b473d0ecf5fbc8de720c560bf36d715e7a /config
parentb1c9b296e809f1a1ebc1283013138f4f5cfc0141 (diff)
downloadnextcloud-server-03aa86d8a6e6631547b72f0f01a2394784900db2.tar.gz
nextcloud-server-03aa86d8a6e6631547b72f0f01a2394784900db2.zip
- xframe restriction configurable now
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index b70b3cf533d..a3b7cbaca46 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -148,6 +148,10 @@ $CONFIG = array(
/* Custom CSP policy, changing this will overwrite the standard policy */
"custom_csp_policy" => "default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:",
+/* Enable/disable X-Frame-Restriction */
+/* HIGH SECURITY RISK IF DISABLED*/
+"xframe_restriction" => true,
+
/* The directory where the user data is stored, default to data in the owncloud
* directory. The sqlite database is also stored here, when sqlite is used.
*/