Cómo prohibir cualquier dirección IP a través de .htaccess?

If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file.


order allow,deny
deny from IP-ADDRESS
allow from all


Replace "IP-ADDRESS" with the IP Address you want to block.

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Cómo proteger una carpeta con nombre de usuario y contraseña en cPanel?

You can lock a directory with password by using the cPanel "Password Protected Directories"...

Cómo poner en blacklist una dirección IP para negarle el acceso a su sitio web?

You can lock directory with a password by using cPanel "Password Protected Directories" option.1....

Cómo proteger las imágenes de su sitio web de un sitio web externo?

External Website can use < img /> tag to display an image from your site somewhere else on...

Cómo deshabilitar la navegación del directorio usando .htaccess?

For security purposes, we recommend that you to disable directory browsing on your website so no...

Cómo proteger su archivo .htaccess?

For security purpose we recommended you to prevent access to your .htaccess file from...