Skip to content
Archive of posts tagged asp.net

Hardening poorly configured services with Cloudflare workers

It seems that Azure is sending x-powered-by header from asp.net, and also the php version. Removing the asp.net header is easy with web.config changes, but the php is tricker. I decided to remove these unwanted header with cloudflare worker-script. Here’s a simple workes which will remove the x-powered-by headers from your responses.