> I need to make all internet users are 

> forced to view our corporate internet 

> policy before they are released to 

> surf the net. Can I use squidguard 

> to do this? 

What about something like

source firsttoday {

??group a-group??

userquota 1 0 daily

}

acl {

firsttoday {

pass none

redirect http://server/policy.html

}

default {

pass all

}

}

I've just written that from the top of my head - no doubt there will be errors.

I've put ?? round the group as source could be based on anything, depending on your 
setup. Perhaps an IP range or subnet would be better.

The userquota section says that all users in that group have 1 second every day to 
access the firsttoday acl, after that, they will be passed to default. This basically 
means that their first request in any 24hr period will be redirected to the url 
specified. Clicking refresh would take them where they wanted to go!

HTH

Alex

Reply via email to