http://bugs.winehq.com/show_bug.cgi?id=1419
------- Additional Comments From z_god@wanadoo.nl 2003-28-06 11:06 ------- Bug comments restored from Gmane.org:
It would be nice to have an option for wine.conf that disallows applications running under WINE from accessing the network. This would be especially helpful in the situation where a user would like to run an email attachment without having to worry about spreading the latest MS virus.
------- Additional Comments From fgouget <at> codeweavers.com 2003-05-04 20:20 ------- There was a discussion on wine-devel about that subject and the conclusion was that Wine is the wrong level for implementing this kind of feature. Instead, this sort of feature should be implemented at the Unix level by preventing (some/specific) applications from making specific system calls, e.g. network system calls, which would prevent malicious Linux applications from doing bad things.
Using such a framework it would be possible to prevent Wine, and thus Windows applications, from accessing the network, accessing specific directories or files, etc, etc. And the advantage is that this would even stop cross-platform viruses, i.e. viruses that know about Wine and make Linux system calls when they detect they are on Linux.