Blocking some web browsers is possible in squid proxy server. Squid can block all the requests from web browsers like Internet explorer, Chrome, Firefox, etc.
Create an “acl” with the bad web browser types and finaly deny the access. Add all the below configurations to the Squid server configuration file “/etc/squid/squid.conf”.
[root@server ~ #]vim /etc/squid/squid.conf |
#Block Chrome in squid proxy
#Block Mozilla Firefox in squid proxy
acl bad_browser browser Firefox |
#Deny the requests from firefox
http_access deny bad_browser all |
#Block Opera in squid proxy
acl bad_browser browser Opera |
#Deny the requests from chrome
http_access deny bad_browser all |
#Block Internet Explorer in squid proxy
acl bad_browser browser IE |
#Deny the requests from Internet explorer
http_access deny bad_browser all |