Ir al contenido principal

BLOQUEAR URL MODIFICANDO ARCHIVO HOST LINUX Y WINDOWS

Buscamos archivo host:

En windows: C:Windows\System32\drivers\etcEn linux /etc/hosts

Abrimos el achivo host con algún editor y adicionamos al final la url a bloquear:

127.0.0.1         [url a bloquear]

 La función que realiza la línea anterior es redirigir a localhost la petición.

Comentarios

Entradas populares de este blog

JAVASCRIPT - DESHABILITAR RETROCESO, CONTROLAR REFRESH DE PÁGINA

TIPOS DE DATOS POSTGRES

PROBLEMA LICENCIAS TERMINAL SERVER Y WINDOWS SERVER 2012