How to limit the amount of downloadings

How to limit the amount of downloadings

It is possible to solve this problem by means of different programs or settings in a firewall. Use options both for one user, and for group of users. Restrictions can be configured depending on needs of all users of specific network.

It is required to you

  • — PC;
  • — Internet;
  • — proxy Squid server;
  • — proxy HandyCache server;
  • — firewall.

Instruction

1. Rationally it is possible to use access to the network the Internet by means of the Squid proxy server. It is the module which processes DNC requests of users, works as a download manager. The utility is able to save often queried data in a cache, supports control of Internet access for certain users. It is possible to download different versions of the module here: http://squid.opennet.ru/download.shtml.

2. Install the downloaded file in a system and allow access to network. Configure the settings http_access, http_port, acl. Prohibit access to certain websites, the addresses by means of the http_access parameter. Just add the necessary address range to the Acl list.

3. Squid management system very flexible and extensive, is suitable for different operating systems. It consists of blocks with values and the access addresses the allow commands it (is authorized) or deny (is forbidden). Type of Acl such: name element list. More granular controls of this program can be studied here: http://archiv.kiev1.org/page-1062.html.

4. The possibility of restriction of downloadings appeared in the caching HandyCache RC1 1.0.0.64, HandyCache RC2 1.0.0.103 proxy servers. Having installed the module, you will save yourself from excess efforts if you work on different browsers. The web pages loaded once will remain available for viewing in different browsers as will remain in a module cache. The NANOSECOND interface is intuitive, any will be able to manage settings in the slightest degree the competent PC user.

5. To evaluate HandyCache in work, download it: http://handycache.ru/component/option,com_remository/Itemid,2/func,select/id,2/, install and specify to the browser to use HC by default. The settings installed thus will approach in most cases, and for use of thinner values study: http://handycache.ru/content/view/8/5/.

6. Create the rule in a firewall. It is possible to limit the size of the downloaded file and in such a way: src 0.0.0.0 maska 0.0.0.0 port No. dst 10.0.0.0 (the addresses in the local area network) maska 255.0.0.0 port ALLprotokol TCP/IP action "sheyper" max. speed is the size of a session is 5242880 60 (kb/sec.) (5 MB)

7. Such restriction is necessary to prevent an overload of networks. Setup allows to redistribute optimum traffic between users of a local area network the Internet.

Author: «MirrorInfo» Dream Team


Print