Re: block a program from access the Internet.
On 09.09.2013 14:01, atar wrote:
> Hi there!!
>
> Just wanted to know please if there's a way to block a specific program
> from accessing the Internet while preserving at the same time the
> ability of other programs to access the Internet, and if there's a way,
> so how?
>
> Thanks in advance!!
>
> atar.
>
>
You could try with iptables using "-m owner --cmd-owner"
http://www.frozentux.net/iptables-tutorial/iptables-tutorial.html#TABLE.OWNERMATCH
But that will only work on a system where everyone behaves themselves.
It would be trivial to rename or make a copy of the program and run it
under a new name.
Regards,
/Lars
Reply to: