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 1L2oXM-0000W0-Jb for garchives@archives.gentoo.org; Wed, 19 Nov 2008 15:00:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63405E027B; Wed, 19 Nov 2008 15:00:11 +0000 (UTC) Received: from mail-gx0-f25.google.com (mail-gx0-f25.google.com [209.85.217.25]) by pigeon.gentoo.org (Postfix) with ESMTP id 2AFF1E027B for ; Wed, 19 Nov 2008 15:00:11 +0000 (UTC) Received: by gxk6 with SMTP id 6so1260052gxk.10 for ; Wed, 19 Nov 2008 07:00:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=1721tXDXVGXq3Hbe5fuqwBCIv38Lq9cDNdhXPrZ2l9c=; b=IcNTWqWeOpE/LVO9tZlwlQqYuYlCZ1DRsaIGoLnVE6krEtq6XcmgsatDQSyfjJWV0y BzlJ8HzRwaa93n41ILRHdrpR8iEMu6fy5eQ7YXOGi41Dnv8zaOMmdAn3bQWPsqcsZwHp 8i1P+c/VfOM19Lao+arPF+QDCTs/sxhttA4d0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=usMqAVMwoHY4boj9esVhS/QwMV1owPjOEFZ04lC50MW7/Ffk/VdYW6czDvCrfaqyJX ct57+c+9WStbxaRZ8BFx1qV3Rg3C9vHFzw4o2x6qMaVeasvKDU9hOH1YeaZf5HeDq2mO v82zFVPuHUfoG5a4wARA+R4l9sm02SwUvaTXE= Received: by 10.110.105.5 with SMTP id d5mr1562558tic.37.1227106779795; Wed, 19 Nov 2008 06:59:39 -0800 (PST) Received: from localhost ([59.93.207.38]) by mx.google.com with ESMTPS id u12sm1132784tia.3.2008.11.19.06.59.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Nov 2008 06:59:38 -0800 (PST) Date: Wed, 19 Nov 2008 20:37:57 +0530 From: Michael Moore To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Deny flash to a specific user? Message-ID: <20081119150757.GD7022@beastie.linwin> References: <5bdc1c8b0811181729v5e92cc0fh701faab1b02bd869@mail.gmail.com> <1227067612.16932.5.camel@blackwidow.nbk> <28C5CD56-5A44-4F6A-85CC-C28CC2C2F0A3@stellar.eclipse.co.uk> 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=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: e8625fc4-0dd3-481b-b6ca-70041a03a08f X-Archives-Hash: 7aef701f1439c764b425a38b3359c9ad 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. -- Regards, Michael Moore About *NIX: If its not fun, why do it?