diff --git a/includes/common.php b/includes/common.php index e5dbb28..096873d 100644 --- a/includes/common.php +++ b/includes/common.php @@ -154,3 +154,7 @@ $current_user = User::current($conn); if ($current_user) { $noguests = "off"; } + +/* Security headers */ +header('X-Frame-Options: SAMEORIGIN'); +header('X-Content-Type-Options: nosniff'); diff --git a/theme/bulma/main.php b/theme/bulma/main.php index 8d2e309..86db549 100644 --- a/theme/bulma/main.php +++ b/theme/bulma/main.php @@ -185,9 +185,9 @@
@@ -234,7 +234,7 @@ + placeholder="Paste Or Drop Text File Here.">File Size: 1000/1000Kb