---
title: "Teo Selenius (@teoselenius) | Hashnode"
description: "OSCP, OSCE, OSWE, CKS. Read the latest articles by Teo Selenius on Hashnode."
url: "https://hashnode.com/@teoselenius"
---

@teoselenius

# Teo Selenius

@teoselenius · Joined February 2021

OSCP, OSCE, OSWE, CKS

[Website](https://www.appsecmonkey.com/)

## Comments

[Hey! It doesn't really matter how and where you set the header, as long as it is correctly returned to the web browser. If you're using Apache, you can use mod\_headers like so: Header set Strict-Transport-Security "options" https://httpd.apache.org/docs/current/mod/mod\_headers.html Not really related to HSTS, but since you are already using Apache then check out ModSecurity and the OWASP Core Ruleset as well, it will provide you a WAF (Web Application Firewall) capability to your Apache server and protect your PHP application from most obviously malicious input. https://owasp.org/www-project-modsecurity-core-rule-set/](https://hashnode.com/posts/hsts-header-strict-transport-security-explained/60436a168458d42fc821b01a/comment/60534121b22fc610f73bf6d3#reply-6056d61b63a05a21443f2b3b)

Reply · Article · Mar 21, 2021 · [HSTS Header (Strict Transport Security) Explained](https://hashnode.com/posts/hsts-header-strict-transport-security-explained/60436a168458d42fc821b01a)

[Quite so! Enabling CORS blindly can have disastrous security consequences if one doesn't know what they're doing. I was also hoping to ease the pain for people banging their head against a wall just trying to get it to work. :D](https://hashnode.com/posts/cors-cross-origin-resource-sharing-a-complete-guide/604732c1ad7c5f4abc7cd23e/comment/60475ff11997ad4f95131b50#reply-604760cb1997ad4f95131b5f)

Reply · Article · Mar 9, 2021 · [CORS (Cross-Origin Resource Sharing): A Complete Guide](https://hashnode.com/posts/cors-cross-origin-resource-sharing-a-complete-guide/604732c1ad7c5f4abc7cd23e)
