Click to See Complete Forum and Search --> : Controlling internet access?


pmrphs2002
05-24-2007, 01:12 AM
Hey guys-
Im building a computer system thats supposed to act as the proxy for the house. I was wondering if theres a way, perhaps with squid or something, to limit each user to about 2 hours of internet time a day-

I've got a simple login script from an old project that I was going to use as a welcome screen - they enter their information (login and password) and I want the computer to meter out their internet time- after 2 hours, shut down access to the internet.

Is this possible?? Just late at night and thinking.... ;-)

deathadder
05-24-2007, 08:04 AM
Just a suggestion...but maybe some Internet Cafe software would let you do something like this, there was a thread recently that had some suggestions for Internet Cafe software by mrben I think...

ph34r
05-24-2007, 08:32 AM
check out nocatauth or similar projects... they force login... once someone is logged in, you could check every X minutes (cron job) how much time they've been on and then de-auth them.

knute
05-24-2007, 05:05 PM
Since you are going this route, there is also PAM (http://www.kernel.org/pub/linux/libs/pam/) where you can actually go so far as to set hours and days when you CAN access the internet (per user even).