Add the X-Frame-Options header to the app

This commit is contained in:
Alex Tselegidis 2023-03-08 10:48:37 +01:00
parent af1904679e
commit f3a3fb047e

View file

@ -57,6 +57,22 @@ $route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
/*
| -------------------------------------------------------------------------
| FRAME OPTIONS HEADERS
| -------------------------------------------------------------------------
| Set the appropriate headers so that iframe control and permissions are
| properly configured.
|
| Options:
|
| - DENY
| - SAMEORIGIN
|
*/
header('X-Frame-Options: SAMEORIGIN');
/*
| -------------------------------------------------------------------------
| CORS HEADERS