LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restricting Downloads (https://www.linuxquestions.org/questions/linux-newbie-8/restricting-downloads-4175475592/)

rosway 09-02-2013 11:14 AM

Restricting Downloads
 
Hi all,

I am new at Linux, but have installed Ubuntu 12.04. I have set up 1 x Administrator account and 3 x User accounts. Is there a way that prevents downloads from the internet for the user accounts.

Thanks

linosaurusroot 09-02-2013 12:13 PM

I haven't used it but I think policy-based-routing could do that.

http://www.pmoghadam.com/homepage/HT...y-routing.html

unSpawn 09-02-2013 12:20 PM

...additionally you could do anything from using a transparent proxy to firewall rules that match user UIDs to removing any network connecting applications altogether (and yes, BASH understands TCP too ;-p), but what exactly would you like to accomplish?.. And would the machine still allow CD, DVD, USB, Bluetooth, eSATA, etc, etc?

rosway 09-02-2013 12:24 PM

Thanks
 
Quote:

Originally Posted by unSpawn (Post 5020386)
...additionally you could do anything from using a transparent proxy to firewall rules that match user UIDs to removing any network connecting applications altogether (and yes, BASH understands TCP too ;-p), but what exactly would you like to accomplish?.. And would the machine still allow CD, DVD, USB, Bluetooth, eSATA, etc, etc?

What I am trying to do is save bandwidth, and prevent music and video downloads.

rosway 09-02-2013 12:28 PM

Thanks
 
Quote:

Originally Posted by linosaurusroot (Post 5020384)
I haven't used it but I think policy-based-routing could do that.

http://www.pmoghadam.com/homepage/HT...y-routing.html

Thanks will have a look. Trying to save bandwidth and stop music and video downloads.

unSpawn 09-03-2013 01:19 AM

Quote:

Originally Posted by rosway (Post 5020389)
Thanks will have a look.

Policy routing does do just that: route traffic. On it's own it will accomplish nothing: it's where you route traffic to and how that'll be processed (say a caching or filtering proxy or a traffic shaping queue) that matters.


Quote:

Originally Posted by rosway (Post 5020389)
Trying to save bandwidth and stop music and video downloads.

Saving bandwidth means mostly caching (repeated requests for static content), for dividing bandwidth between clients (equally or not so equal) there's QoS and bandwidth shaping (search for LARTs "wondershaper" for example) and for "stopping downloads" or filtering out unwanted content) you use a filtering proxy (Dans Guardian and to a lesser extent Privoxy).

rosway 09-03-2013 08:19 AM

Quote:

Originally Posted by unSpawn (Post 5020697)
Policy routing does do just that: route traffic. On it's own it will accomplish nothing: it's where you route traffic to and how that'll be processed (say a caching or filtering proxy or a traffic shaping queue) that matters.



Saving bandwidth means mostly caching (repeated requests for static content), for dividing bandwidth between clients (equally or not so equal) there's QoS and bandwidth shaping (search for LARTs "wondershaper" for example) and for "stopping downloads" or filtering out unwanted content) you use a filtering proxy (Dans Guardian and to a lesser extent Privoxy).

Okay, thank you. We are restricted to 2GB a month on the internet


All times are GMT -5. The time now is 03:04 AM.