Previous
Left Arrow
Using a period in your URL can be done with IIS URL Rewrite
Current Code Entry
Go Back To Code List
[Web.Config]
Stop your website from being hijacked by another site.
Article Entry Date: March 14,2025 @ 06:27:59 / Last Updated On: March 15,2025 @ 02:35:28
Ever wonder where your bandwidth is going?
Sometimes, it is used without your knowledge.
High bandwidth usage can happen when another website hijacks your website.
[How?]
This is where the hijacker takes your URL and embeds it within an iFrame.
Hijacking a website will allow them to load your website into theirs without your knowledge. (This happens more than you know.)
g
To combat this issue. Depending on your Server Infrastructure, choose one of the methods below.
[ASP.NET] (Includes Classic ASP as Well)



[.htaccess]



Enable on Apache
[Apache configuration]
[Debian] : /etc/apache2/conf-enabled/security.conf
[Redhat] : /etc/httpd/conf/httpd.conf



[Nginx]
To enable the X-Frame-Options header on Nginx simply add it to your server block config




For more information on this, please have a look at the following page.
X-Frame-Options - How to Combat Clickjacking | (keycdn.com)«