Skip to content

Commit

Permalink
Add the X-Frame-Options header to the app
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Mar 8, 2023
1 parent af19046 commit f3a3fb0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions application/config/routes.php
Expand Up @@ -57,6 +57,22 @@

$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
Expand Down

0 comments on commit f3a3fb0

Please sign in to comment.