<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Squid Deny Users Accessing a Website</title> <atom:link href="http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Isurinda Jayawardana</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-64133</link> <dc:creator>Isurinda Jayawardana</dc:creator> <pubDate>Sat, 05 Nov 2011 05:03:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-64133</guid> <description>You can use netbios name of that user&#039;s computer and block sites
here is a sample config
=== squid.conf ===
acl BLOCK_USER_FROM_NETBIOS srcdomain &quot;/etc/squid/BLOCK_USER_FROM_NETBIOS&quot;
acl BLOCKED_URLS_FOR_SPECIFIC_USER dstdomain &quot;/etc/squid/BLOCKED_URLS&quot;
http_access deny BLOCKED_URLS_FOR_SPECIFIC_USER BLOCK_USER_FROM_NETBIOS
=================
Create a file : BLOCK_USER_FROM_NETBIOS in /etc/squid/ ( I suppose your squid configuration directory is /etc/squid)
add your user&#039;s computer name there. as an example, lets say computer name is &quot;deepak&quot; and your local domain name is &quot;example.org&quot; suppose your computer is a domain member of example.org. so the netbios name will be &quot;deepak.example.org&quot; , add that to your BLOCK_USER_FROM_NETBIOS file.
after that create a file /etc/squid/BLOCKED_URLS
and add urls you need to block. suppose you need to block facebook.com, add a line like this .facebook.com
reload your configurations
#squid -k reconfigure
or restart the service.</description> <content:encoded><![CDATA[<p>You can use netbios name of that user&#8217;s computer and block sites</p><p>here is a sample config</p><p>=== squid.conf ===<br
/> acl BLOCK_USER_FROM_NETBIOS srcdomain &#8220;/etc/squid/BLOCK_USER_FROM_NETBIOS&#8221;<br
/> acl BLOCKED_URLS_FOR_SPECIFIC_USER dstdomain &#8220;/etc/squid/BLOCKED_URLS&#8221;<br
/> http_access deny BLOCKED_URLS_FOR_SPECIFIC_USER BLOCK_USER_FROM_NETBIOS<br
/> =================<br
/> Create a file : BLOCK_USER_FROM_NETBIOS in /etc/squid/ ( I suppose your squid configuration directory is /etc/squid)<br
/> add your user&#8217;s computer name there. as an example, lets say computer name is &#8220;deepak&#8221; and your local domain name is &#8220;example.org&#8221; suppose your computer is a domain member of example.org. so the netbios name will be &#8220;deepak.example.org&#8221; , add that to your BLOCK_USER_FROM_NETBIOS file.</p><p>after that create a file /etc/squid/BLOCKED_URLS<br
/> and add urls you need to block. suppose you need to block facebook.com, add a line like this .facebook.com</p><p>reload your configurations<br
/> #squid -k reconfigure<br
/> or restart the service.</p> ]]></content:encoded> </item> <item><title>By: Deepak Agrawal</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-63600</link> <dc:creator>Deepak Agrawal</dc:creator> <pubDate>Mon, 17 Oct 2011 10:05:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-63600</guid> <description>How to deny a particular user from accessing particular site?</description> <content:encoded><![CDATA[<p>How to deny a particular user from accessing particular site?</p> ]]></content:encoded> </item> <item><title>By: Ambicapathy</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-63098</link> <dc:creator>Ambicapathy</dc:creator> <pubDate>Mon, 03 Oct 2011 15:09:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-63098</guid> <description>Can someone help me in blocking miniclip.com games sites. I tried different ways and none was working. Still users are able to access the site.
Please help me with this.</description> <content:encoded><![CDATA[<p>Can someone help me in blocking miniclip.com games sites. I tried different ways and none was working. Still users are able to access the site.</p><p>Please help me with this.</p> ]]></content:encoded> </item> <item><title>By: DFR</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-62461</link> <dc:creator>DFR</dc:creator> <pubDate>Thu, 15 Sep 2011 19:42:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-62461</guid> <description>hi,
Can someone help me here? I was trying to block some website using squid, it works... it blocked the sites i listed to be blocked, but it also blocked a system we are using it open the web site but the system does not work, it uses java.</description> <content:encoded><![CDATA[<p>hi,<br
/> Can someone help me here? I was trying to block some website using squid, it works&#8230; it blocked the sites i listed to be blocked, but it also blocked a system we are using it open the web site but the system does not work, it uses java.</p> ]]></content:encoded> </item> <item><title>By: Sony AK</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-59382</link> <dc:creator>Sony AK</dc:creator> <pubDate>Fri, 13 May 2011 04:05:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-59382</guid> <description>what about URL like this? www.google.com/accounts can?</description> <content:encoded><![CDATA[<p>what about URL like this? <a
href="http://www.google.com/accounts" rel="nofollow">http://www.google.com/accounts</a> can?</p> ]]></content:encoded> </item> <item><title>By: Agent_99</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-59337</link> <dc:creator>Agent_99</dc:creator> <pubDate>Tue, 10 May 2011 05:35:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-59337</guid> <description>Hi,
Does anyone knows how to block proxy browsing (anonymous Browsing via squid proxy server) ???</description> <content:encoded><![CDATA[<p>Hi,<br
/> Does anyone knows how to block proxy browsing (anonymous Browsing via squid proxy server) ???</p> ]]></content:encoded> </item> <item><title>By: arnab</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-56267</link> <dc:creator>arnab</dc:creator> <pubDate>Fri, 11 Mar 2011 15:20:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-56267</guid> <description>website blocking configuration is not working in squid.... plz help me</description> <content:encoded><![CDATA[<p>website blocking configuration is not working in squid&#8230;. plz help me</p> ]]></content:encoded> </item> <item><title>By: dlcomm</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-52795</link> <dc:creator>dlcomm</dc:creator> <pubDate>Sat, 18 Dec 2010 09:44:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-52795</guid> <description>On method is to create a cron job.   You can have cron jobs to append to the .conf file or simply backup and replace it.</description> <content:encoded><![CDATA[<p>On method is to create a cron job.   You can have cron jobs to append to the .conf file or simply backup and replace it.</p> ]]></content:encoded> </item> <item><title>By: kosala</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-50274</link> <dc:creator>kosala</dc:creator> <pubDate>Fri, 22 Oct 2010 07:15:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-50274</guid> <description>Hi
i need to release the website block for the holidays.
So how can i define a specific day from squid proxy conf.
thanks in advance
kosala</description> <content:encoded><![CDATA[<p>Hi</p><p>i need to release the website block for the holidays.</p><p>So how can i define a specific day from squid proxy conf.</p><p>thanks in advance<br
/> kosala</p> ]]></content:encoded> </item> <item><title>By: Yared</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-48903</link> <dc:creator>Yared</dc:creator> <pubDate>Fri, 20 Aug 2010 08:15:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-48903</guid> <description>by default youtube.com is blocked in Dansguardian, how can i allow youtube.com to be accessed in Squid Guard?
cheers</description> <content:encoded><![CDATA[<p>by default youtube.com is blocked in Dansguardian, how can i allow youtube.com to be accessed in Squid Guard?</p><p>cheers</p> ]]></content:encoded> </item> <item><title>By: Teklay</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45823</link> <dc:creator>Teklay</dc:creator> <pubDate>Thu, 04 Feb 2010 09:26:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45823</guid> <description>i tried to block for a specific site and i get that working. but is there a means to block based on source address and destination ipaddress or domain name just in one acl definition?. this kind of acl is very common in Cisco routers.
for eg. i want to deny a web traffic that originates from a specific ip address and its destination address is say www.google.com.
can any body tell me how to proceede?
Thanks</description> <content:encoded><![CDATA[<p>i tried to block for a specific site and i get that working. but is there a means to block based on source address and destination ipaddress or domain name just in one acl definition?. this kind of acl is very common in Cisco routers.<br
/> for eg. i want to deny a web traffic that originates from a specific ip address and its destination address is say <a
href="http://www.google.com" rel="nofollow">http://www.google.com</a>.<br
/> can any body tell me how to proceede?<br
/> Thanks</p> ]]></content:encoded> </item> <item><title>By: Jacob</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45616</link> <dc:creator>Jacob</dc:creator> <pubDate>Mon, 18 Jan 2010 22:15:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45616</guid> <description>I need to setup so that I can have certain machines blocked from some websites and certain machine allowed to access. For example
machine 1 can access msnbc.com
machine 2 can not access msnbc.com
Can you advise what the easiest way to set this up is?
Thanks</description> <content:encoded><![CDATA[<p>I need to setup so that I can have certain machines blocked from some websites and certain machine allowed to access. For example<br
/> machine 1 can access msnbc.com<br
/> machine 2 can not access msnbc.com</p><p>Can you advise what the easiest way to set this up is?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Rohit</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45387</link> <dc:creator>Rohit</dc:creator> <pubDate>Fri, 01 Jan 2010 10:57:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45387</guid> <description>I want Access a Web site of a specific IP address.
how do this????????????</description> <content:encoded><![CDATA[<p>I want Access a Web site of a specific IP address.<br
/> how do this????????????</p> ]]></content:encoded> </item> <item><title>By: Gregor Bruhin</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45207</link> <dc:creator>Gregor Bruhin</dc:creator> <pubDate>Thu, 17 Dec 2009 07:22:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-45207</guid> <description>To block teamviewer you can add something like this to your squid config:
acl teamviewer url_regex din\.aspx$ dout\.aspx$
http_access deny teamviewer</description> <content:encoded><![CDATA[<p>To block teamviewer you can add something like this to your squid config:</p><p>acl teamviewer url_regex din\.aspx$ dout\.aspx$<br
/> http_access deny teamviewer</p> ]]></content:encoded> </item> <item><title>By: Mahesh Sharma</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-43454</link> <dc:creator>Mahesh Sharma</dc:creator> <pubDate>Fri, 28 Aug 2009 06:42:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-43454</guid> <description>dear
sir
please solved my problem
thirty pc&#039;s in a room i have installed redhat linux 5 but i want to make a pc&#039;s server
and i need that i am blocking some sites which not shown front web page which we want to block
any sites.
and i have a broadband connection and  i want that with my computer&#039;s ip address can be supplied
which we want to result is that my internet and my local area connection both are working together and
i no need for obtain my ip addresses</description> <content:encoded><![CDATA[<p>dear<br
/> sir<br
/> please solved my problem<br
/> thirty pc&#8217;s in a room i have installed redhat linux 5 but i want to make a pc&#8217;s server<br
/> and i need that i am blocking some sites which not shown front web page which we want to block<br
/> any sites.<br
/> and i have a broadband connection and  i want that with my computer&#8217;s ip address can be supplied<br
/> which we want to result is that my internet and my local area connection both are working together and<br
/> i no need for obtain my ip addresses</p> ]]></content:encoded> </item> <item><title>By: Arunraj</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-39654</link> <dc:creator>Arunraj</dc:creator> <pubDate>Tue, 30 Dec 2008 05:31:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-39654</guid> <description>Hi friend,
Can u help me to &quot;cache a particular website and store it in local system and if the client user send a request for  that particular site, the proxy first check it in local cache,if not available means pass the request to internet&quot; this is my requirement how to configure this by using squid proxy.</description> <content:encoded><![CDATA[<p>Hi friend,<br
/> Can u help me to &#8220;cache a particular website and store it in local system and if the client user send a request for  that particular site, the proxy first check it in local cache,if not available means pass the request to internet&#8221; this is my requirement how to configure this by using squid proxy.</p> ]]></content:encoded> </item> <item><title>By: vijay</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-39030</link> <dc:creator>vijay</dc:creator> <pubDate>Wed, 22 Oct 2008 10:36:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-39030</guid> <description>Hi Vivek,
I have configure squid in my office using your earlier artical of making transperent proxy. I want to block some site, for that I have use this artical but its not working. Please help.
Vijay</description> <content:encoded><![CDATA[<p>Hi Vivek,<br
/> I have configure squid in my office using your earlier artical of making transperent proxy. I want to block some site, for that I have use this artical but its not working. Please help.</p><p>Vijay</p> ]]></content:encoded> </item> <item><title>By: jonayed</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-38401</link> <dc:creator>jonayed</dc:creator> <pubDate>Sat, 26 Jul 2008 10:03:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-38401</guid> <description>Hi all,
I using squid as firewall. I want to block teamviewer which uses port 80 i guess.but i have to keep the 80 port open for browsing purpose. i am not that good at linux.
Can any one please help.
Thanks in advance
Jonayed
bangladesh</description> <content:encoded><![CDATA[<p>Hi all,<br
/> I using squid as firewall. I want to block teamviewer which uses port 80 i guess.but i have to keep the 80 port open for browsing purpose. i am not that good at linux.<br
/> Can any one please help.</p><p>Thanks in advance<br
/> Jonayed<br
/> bangladesh</p> ]]></content:encoded> </item> <item><title>By: sreekumar</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-37932</link> <dc:creator>sreekumar</dc:creator> <pubDate>Fri, 16 May 2008 12:04:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-37932</guid> <description>how can i block a website in a particlar syatem or IP through squid</description> <content:encoded><![CDATA[<p>how can i block a website in a particlar syatem or IP through squid</p> ]]></content:encoded> </item> <item><title>By: Nandkishor</title><link>http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-37756</link> <dc:creator>Nandkishor</dc:creator> <pubDate>Thu, 10 Apr 2008 09:47:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/how-deny-access-users-to-particular-websites/#comment-37756</guid> <description>I have setup the transperant squid proxy to block some downloading &amp; some urls.
How to block or deny the online listening musics &amp; videows. Like for url youtube.com
Any Idea.
Cheers,
Nandkihosr</description> <content:encoded><![CDATA[<p>I have setup the transperant squid proxy to block some downloading &amp; some urls.<br
/> How to block or deny the online listening musics &amp; videows. Like for url youtube.com</p><p>Any Idea.</p><p>Cheers,<br
/> Nandkihosr</p> ]]></content:encoded> </item> </channel> </rss>
