File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 463463// X-Frame-Options tells the browser whether you want to allow your site to
464464// be framed or not. By preventing a browser from framing your site you can
465465// defend against attacks like clickjacking.
466- // Recommended value "SAMEORIGIN".
466+ // If defining a URL here, it should define the URL(s) from which your content
467+ // should be visible, not the URLs from which your site accepts content.
468+ // For example, if your main URL (root_web above) is https://11.chamilo.org/,
469+ // then this setting should be: 'ALLOW-FROM https://11.chamilo.org'.
470+ // These headers only apply to pages where Chamilo is responsible of the HTTP
471+ // headers generation (i.e. ".php" files). It does not apply to static files.
472+ // If playing with this feature, make sure you also update your web server
473+ // configuration to add the right headers for static files. See CDN
474+ // configuration documentation above (search for "add_header") for more
475+ // information.
476+ // Recommended (strict) value for this setting, if enabled: "SAMEORIGIN".
467477//$_configuration['security_x_frame_options'] = 'SAMEORIGIN';
468478//
469479// X-XSS-Protection sets the configuration for the cross-site scripting
You can’t perform that action at this time.
0 commit comments