Re: forbid internet access to an application?



Allen Kistler <ackistler@xxxxxxxxx> writes:

lucatrv wrote:
Hi, I'd like to ask if it's possible to restrict access to the internet to
an application (i.e. the list of files which belongs to a package).
Under windows there are plenty of firewall programs, which make you decide
if an application should access the internet or not.

That would of course be entirely trivial to evade. Just make a hard link to
the program with a different name.

It is like denying access to a building to anyone who says their name is John.
How long would that be effective?

If you told us which program you wanted to restrict, then we could perhaps
give better advice.

I looked on internet and didn't find anything similar under linux. For what
I could understand, neither apparmor or selinux can do that...

The netfilter owner module can accomplish this objective (according to
the man page, though I've never used it). The switch you want is
--cmd-owner, however the man page also states that cmd matching is
broken on SMP machines. YMMV
.



Relevant Pages

  • Re: forbid internet access to an application?
    ... Under windows there are plenty of firewall programs, ... I looked on internet and didn't find anything similar under linux. ...
    (comp.os.linux.networking)
  • Re: forbid internet access to an application?
    ... Under windows there are plenty of firewall programs, ... I looked on internet and didn't find anything similar under linux. ...
    (comp.os.linux.networking)
  • Another try - Windows Based Scripting Host
    ... For the last few days Zone Alarm has alerted me that Windows Based Scripting ... I've been denying access, but not permanently, as I'm not sure if it's ... Any advice will be appreciated. ...
    (microsoft.public.windowsxp.help_and_support)
  • Another try -Windows Based Scripting Host
    ... For the last few days Zone Alarm has alerted me that Windows Based Scripting ... I've been denying access, but not permanently, as I'm not sure if it's ... Any advice will be appreciated. ...
    (alt.os.windows-xp)
  • Windows Update crash
    ... denying access to a "beethoven9.wma" file. ... When prompted, she chose to skip ... tried to repair Windows and reinstall Windows ... find a hard disk. ...
    (microsoft.public.windowsxp.general)