Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to restrict internet access until...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 199

PostPosted: Wed Dec 21, 2011 5:02 pm    Post subject: How to restrict internet access until... Reply with quote

... user studies a bunch of flashcards?

I was asked to lock down the computer - let the user browse internet only after she has studied some flashcards.

I have almost no idea where to start. I think of using app-misc/anki for flashcards, because I heard good about it. I could restrict internet connection with iptables... But how to unrestrict access when study is finished?

We assume user is not going to hack, and even if restriction is easy to bypass, it may work fine.

Any ideas?
Back to top
View user's profile Send private message
b0nafide
Apprentice
Apprentice


Joined: 17 Feb 2008
Posts: 171
Location: ~/

PostPosted: Wed Dec 21, 2011 5:13 pm    Post subject: Reply with quote

I wrote an 'internet switch' program for a paranoid client once who wanted to be able to 'turn off the internet'. All it did was remove/replace the gateway entry upon a button press.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum