12-02-2010
I have resolved the problem by these acls
acl localnet src 192.168.0.0/16
acl test2 src 192.168.1.20
reply_body_max_size 52428800 deny localnet !test2
http_access allow localnet
ip mention in acl test 2 will have full download access and the localnet will have download access upto 50 MB
Cheers
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I limit size of a file to 1 MB or something like that under Linux? (4 Replies)
Discussion started by: _hp_
4 Replies
2. AIX
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies
3. Linux
Hello
I want to limit the size of a directory;
so a user cant copy more staff inside it then 5 Giga for example..
eg. /nfs/temp/jhon size can not increase more that 5Gb
I havnt found anything on the net. Is there a way to do it? (2 Replies)
Discussion started by: jredx
2 Replies
4. Linux
hi dears
1) i am using squid proxy for internet sharing .. how can i allow users to download files of specific size say only 5 Mb how allow through squid..
2) i want to trace all the user with system ip and system id (name)
what are sites they are visited and how much MB they are user
... (2 Replies)
Discussion started by: surfer24
2 Replies
5. UNIX for Advanced & Expert Users
Hi
i configured log rotate for a specific file.
/var/log/sauer
i configured create a file in logrotate.d
# cat /etc/logrotate.d/sauer
#this is a logrotate configuration file for msu_ng logs
/var/log/sauer {
rotate 5
size=1M
daily
compress
... (5 Replies)
Discussion started by: modcan
5 Replies
6. Web Development
Please till me how to stop or to limit some IP which download .rm and .mp3 files for more than 10000 times ...
I have two cases :
1. code 206 up to 20/second 5 GB or more than that ...
2. code 206 up to 20/second but less than 0.5 GB
I used Ddos and mod_evasive20.so
<IfModule... (0 Replies)
Discussion started by: nonowa
0 Replies
7. Shell Programming and Scripting
Hi All,
I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell.
My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
Discussion started by: rajeshorpu
1 Replies
8. UNIX for Advanced & Expert Users
Dear All
I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i want use follow_x_forwarded_for in squid make clients IPs visible to squid, but this option is not working correctly, i have also set x_forwarded_for=on in dansguardian and my squid... (0 Replies)
Discussion started by: surfer24
0 Replies
9. UNIX and Linux Applications
Hi Everyone!
A friend of mine is looking for a way to limit time his kids spent on the internet. I told him he should try out Squid proxy server. He now tries to find a way to limit total time spend on the internet to "X" hours a day, at any time during the day.
I remember there are built-in... (3 Replies)
Discussion started by: togr
3 Replies
10. UNIX for Dummies Questions & Answers
Can someone tell me how I can use squid to block downloads by certain file types and/or by download size.
I want to block people from downloading files of certain type e.g .mp3 and also files of sizes above 30MB. (1 Reply)
Discussion started by: bryanmuts2000
1 Replies
LEARN ABOUT SUNOS
create-acl
asadmin-create-acl(1AS) User Commands asadmin-create-acl(1AS)
NAME
create-acl - adds a new access control list file for the named instance
SYNOPSIS
create-acl --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s][--instance
instance_name] --aclfile filename acl_ID
Gets the access control lists associated with the named server instance.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--secure indicates communication with the administrative instance in secured mode.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--instance name of the instance.
--aclfile name of the default acl file.
OPERANDS
acl_ID internal name for the ACL file listing. This ID is used in a virtual server element to define the ACL file used by
the virtual server.
Example 1: Using create-acl
asadmin> create-acl --user admin --password adminadmin --host fuyako --port 7070 --instance server1 --aclfile "/export/sample_acl_file.scl" sampleACL
Created ACL with id=sampleACL
Where: sampleACL is the name of the ACL created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
Access Control List page
asadmin-delete-acl(1AS), asadmin-list-acl(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-acl(1AS)