E
E
Egor2015-09-05 22:17:07
System administration
Egor, 2015-09-05 22:17:07

Is it possible to block a specific page of a site through hosts?

Greetings.
Is it possible to block a specific page of a site through the hosts file? Suppose I want to block access to my Vkontakte page. If I register in hosts,
127.0.0.1 vk.comthen the contact is blocked without problems.
If you register 127.0.0.1 vk.com/id12345678then the page is not blocked.
In theory, not strong, Google really does not say anything. I ask for advice.
OS: Mac os yosemite

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Armenian Radio, 2015-09-05
@gbg

No, it’s impossible to do this through hosts, and specifically for a contact, it’s generally very difficult. Contact uses https, a separate page cannot be blocked in it.

R
Ruslan Fedoseev, 2015-09-05
@martin74ua

impossible
hosts is a very simple dns server. Its task is to convert the server name into its address.
Those. you can block the entire contact. But not a separate page

A
Alejandro Esquire, 2015-09-05
@A1ejandro

Much more flexibility compared to hosts, when blocking on the router, if it supports it of course. Tell me what kind of router you have, we will try to suggest how to try to block the page on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question