On a Debian based system; as the superuser, I need to restrict access to some websites but specific to user. For instance, abc.com for user1, xyz.com for user2...
I tried /etc/hosts file. Adding a line like
127.0.0.1 abc.com
does what I want. But it applies to all users as there are only one hosts file. As far as I learn so far, it is not possible to configure hosts file for different users. Are there any other ways of doing this?