S
S
Sergey Karbivnichy2020-02-20 18:41:27
linux
Sergey Karbivnichy, 2020-02-20 18:41:27

How to block certain sites and scripts in linux?

It is necessary to block some scripts from sites at the OS level. For example:

subdomain.site.rf/spyware.js

but to
subdomain.site.rf/
have worked.
At first I wanted to block through the firewall, but then I read it and realized that this was a bit of a wrong tool.
The hosts file doesn't work either.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2020-02-20
@hottabxp

This can be done using a proxy server. Read about squid

K
ky0, 2020-02-20
@ky0

Add rules in the banner cutter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question