- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- download restriction squid
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 12:19 AM
09-15-2005 12:19 AM
I want to restrict the users from downloading files more than 2mb .
I have tried setting the
"maximum_object_size = 2mb" , but it don't worked
any kind of help will be appreciated
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 01:20 AM
09-15-2005 01:20 AM
Re: download restriction squid
What you probably want is 'reply_body_max_size'.
See http://www.squid-cache.org/Doc/FAQ/FAQ_long.html#ss4.21 for the explanation, and http://squid.visolve.com/squid/squid24s1/tuning.htm#reply_body_max_size for a more detailed explanation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 04:23 PM
09-15-2005 04:23 PM
Re: download restriction squid
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 04:30 PM
09-15-2005 04:30 PM
Re: download restriction squid
reply_body_max_size 512000 allow USER1
Now the USER1 able to download files of a maximum size of 512000 bytes (500 KB).
Note:
allow the USER1 also in squid.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 06:29 PM
09-15-2005 06:29 PM
Solutionreply_body_max_size bytes allow|deny acl acl
If you want to block specific users then,
# Please setup any of the authentication methods
acl USER2MB proxy_auth username username2
reply_body_max_size 2097152 allow USER2MB
Reconfigure your squid as,
./squid -k reconfigure.
Try it out.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 09:00 PM
09-15-2005 09:00 PM
Re: download restriction squid
It is really ingenious - I put it in place when I had a few users hogging the line all the time. If you do, prepare for a bit of reading to understand the concepts, but it is well worth it. For instance, start with this:
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 06:15 PM
09-18-2005 06:15 PM
Re: download restriction squid
Thanks all for ur replies.
The problem has solved.
I have set the reply_body_max_size option
Thanks again .