[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Proxy Server Support  |  Topic: prevent downloading in certain time
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: prevent downloading in certain time  (Read 692 times)
0 Members and 1 Guest are viewing this topic.
foopirata
Linux Noob !
*
Offline Offline

Posts: 13


View Profile
« on: July 29, 2005, 06:43:02 AM »

hi

how can i prevent download to certain extension like ( .exe .rm and .wmv)
in this times    3 pm to 9 pm  

in want to restrict download in this time and open it later
and thanks in advanced
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #1 on: July 30, 2005, 01:10:45 PM »

You can do this ..
try this
Code:
# This line will set the acl "eve" to donate time between 1800 to 20:30 hr.
acl eve time 18:00-20:30

 #these are files extension u want to stop from downloading, you can add more.
acl bad url_regex -i  \.exe$ \.mpg$ \.avi$

 # now this line will deny those files when its eve ie evening.
http_access deny bad eve

 # now we have to allow bad rest of the time
http_access allow test


Try above, its not tested, and I hope you have got some idea.
Logged
praful_thakare
Linux Noob !
*
Offline Offline

Posts: 24


View Profile
« Reply #2 on: September 16, 2005, 07:34:09 AM »

hello rickey....

i try this nutis not woking

This line will set the acl "eve" to donate time between 1800 to 20:30 hr.
acl eve time 18:00-20:30

 #these are files extension u want to stop from downloading, you can add more.
acl bad url_regex -i  \.exe$ \.mpg$ \.avi$

 # now this line will deny those files when its eve ie evening.
http_access deny bad eve

 # now we have to allow bad rest of the time
http_access allow test

any other way to block...

and also tell is it possible to block upload also?


thank you
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:36:55 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 7
Total: 7
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc