DOCS

IP Blocker and Hotlink Protection

How to block unwanted IP addresses and stop other sites from using your images and files.

Posodobljeno 05.10.2026. 2 min branja

Two cPanel tools in the Security section help when someone overloads you with requests or downloads your images.

IP Blocker#

It blocks access to your site from a specific IP address or range.

  1. Open Security → IP Blocker.
  2. In Add an IP or Range enter an address (e.g. 203.0.113.15) or a range (203.0.113.0/24).
  3. Click Add.

You can see addresses in cPanel under Metrics → Raw Access or Visitors. To remove a block, click Delete next to the rule below the list.

Hotlinking is when another site loads your images directly from your server and uses up your traffic.

  1. Open Security → Hotlink Protection and click Enable.
  2. Check the list of allowed addresses. Your domain must be on it.
  3. In Block direct access for these extensions list the file types (e.g. jpg, jpeg, png, gif).
  4. Optionally enable Allow direct requests, which lets an image be opened directly in a browser.
  5. Click Submit.

Both tools write rules to .htaccess: see .htaccess basics. If you suspect an attack, read Hacked website.

Vam je bil ta članek v pomoč?

Sorodni članki

Still need a hand?

Open a ticket and we will reply by email. The whole team sees your request.