From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L2oge-0001Du-Q8 for garchives@archives.gentoo.org; Wed, 19 Nov 2008 15:09:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D130E02CA; Wed, 19 Nov 2008 15:09:47 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.146]) by pigeon.gentoo.org (Postfix) with ESMTP id 53065E02CA for ; Wed, 19 Nov 2008 15:09:47 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 4so1268735eyk.10 for ; Wed, 19 Nov 2008 07:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0hT23VNH9xZqdD+pKbx4CsZfpYS4DYr6ACPnyrE7zts=; b=vC40mzyCNyXhK1JhHeqbTSue/yu8XvSXDnrWaUlwOBeqcBdUGt5j6bPIJ8BDmfq0iZ UZdGtkWK4LvLRnlKc6T5lNC4uwh0I3zIz6YnNXHy6aUYRZxWCmbHDHyxRJwRE5lOjLfC 8INTmzS3k5lWvTPBZgdFwZNsXw2qF1CPWqpPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WsjwvY3H6EbLp3hk62yfbVsfciuFD5dRxxBIHCSoZv0x+NppqNnPWr7+HvkfbE7wMT t0hgaO77ZMulUik6VxODz64pj5jYSu63UCCAVd2yLRCxYJfadguyGEnaap+KA8/zqp4t +kKxaTXSA1HYw2LZrKcCC4FMJQgJFTuF+0xHI= Received: by 10.86.62.3 with SMTP id k3mr782266fga.46.1227107385004; Wed, 19 Nov 2008 07:09:45 -0800 (PST) Received: by 10.86.31.20 with HTTP; Wed, 19 Nov 2008 07:09:44 -0800 (PST) Message-ID: Date: Wed, 19 Nov 2008 15:09:44 +0000 From: "Qian Qiao" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Deny flash to a specific user? In-Reply-To: <20081119150757.GD7022@beastie.linwin> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0811181729v5e92cc0fh701faab1b02bd869@mail.gmail.com> <1227067612.16932.5.camel@blackwidow.nbk> <28C5CD56-5A44-4F6A-85CC-C28CC2C2F0A3@stellar.eclipse.co.uk> <20081119150757.GD7022@beastie.linwin> X-Archives-Salt: b1fcb150-984f-4e3b-9b4a-86b5acf3adc3 X-Archives-Hash: 40d1f93a3076f9ab799d1805eaae5432 On Wed, Nov 19, 2008 at 15:07, Michael Moore wrote: > On 10:05 Wed 19 Nov , Qian Qiao wrote: >> On Wed, Nov 19, 2008 at 09:54, Stroller wrote: >> > >> > On 19 Nov 2008, at 04:06, Albert Hopkins wrote: >> >> >> >> ... >> >> Why do you want to do this? ... I don't understand why. >> >> What is your justification for doing that? >> > >> > To prevent his kids from watching YouPorn. >> > >> > Stroller. >> >> In that case, isn't putting >> >> 127.0.0.1 ADDRESSES_TO_BE_BLOCKED >> >> into /etc/hosts easier? >> >> Or just set up a proxy. >> >> Joe >> >> -- >> There are 3 kinds of people in the world: those who can count, and >> those who can't. > > No, perhaps not, considering the fact that there are so many sites with > pron. Maintaining such a massive hosts file is a disaster and worse still > the solution is not fullproof. But then, FWIW such problems seldom have > foolproof solutions. > > The idea of proxy is very valid(in particular the transparent proxy > implementation), mixed with mime-type handling could do the trick. What > complicates the situation slightly is that it is to be done for just one > user. I don't personally use proxy so not sure about the implementation > details. Perhaps somebody with the usage experience can provide a > detailed solution, once we are sure as to the reason for the question. I did a quick google for "linux parental control", turned out there are a couple of solutions, each with their strengths and weaknesses ofc. If it's parental control that the OP is after, then he can have a look at them. Then again, we are only guessing the OP's intention. -- Joe -- There are 3 kinds of people in the world: those who can count, and those who can't.