Enhance Security By Removing ActiveX Control Codes From Web Pages With SafeSquid Proxy Server
Enhance Security By Removing ActiveX Control Codes From Web Pages With SafeSquid Proxy ServerAllowing free access to ActiveX Control content, can be a security risk. ActiveX can be used to deposit spyware, adware and other malware into users system, when they visit innocent looking websites. A google search for dangers of activex would be very informative. The Rewrite Document feature of SafeSquid - Content Filtering Internet Proxy, allows you to alter the html codes of a web page on the fly, and send the modified content to the requesting user. This feature can be used to search for ActiveX codes in web pages served by non-trusted websites, remove or replace them with some other codes, and serve the modified web pages to the user. Procedure: Open the SafeSquid Web Interface, go to Config => Profiles, and create the following profile:
The above rule will add the profile BlockActiveX to requests for all websites, except the ones specified in the Main-Sites profile (Profiles=!Main-Sites, where '!' means NOT or EXCEPT). The Main-Sites profile is normally created under Profiles section, to bypass a few business related and trusted websites, from filtering rules, like the ones that block ads and banners, pop-ups, and rules defined under Keyword filter section. The rule simply specifies the hosts and adds the profile Main-Sites to requests for these hosts (note that the rule for Main-Sites should be above the rule for BlockActiveX):
Now, we can use the BlockActiveX profile, under Rewrite document section. In the SafeSquid Interface, go to Config => Rewrite document, and create the following rule:
The above rule will look for the the codes specified in the Pattern field above, which is a regular expression for ActiveX control codes, and replace them with the expression 'SafeSquid restricting ActiveX download'. Note the expression (?!(.*macromedia)). This excludes the codes for Macromedia Flash, which is similar to ActiveX, except that it contains the word macromedia. If the pattern is altered to <object[^>]*>(.*)</object> it will block both, ActiveX as well as Macromedia Flash. Also see: Deploying A Content Filtering Proxy Server To Distribute Controlled Internet Access With SafeSquid Set Up Gateway Level Virus Security With ClamAV And SafeSquid Proxy How To Set Up Internet Access Control And Internet Filtering With SafeSquid Proxy Server How To Control Access To Unwanted Websites Using URL Blacklist With SafeSquid Proxy Server How To Configure Granular Bandwidth Management Rules In SafeSquid Proxy Server How To Control Download Of Files And Mime Types In SafeSquid Proxy Server How To Block Ads And Banners In SafeSquid Proxy Server How To Block Cookies From Unwanted Websites With SafeSquid Proxy Server How To Block WebPages Based On Keywords Or Phrases With SafeSquid Proxy Server How To Control Or Block Instant Messengers With SafeSquid Proxy Server How To Block Porn Pictures And Images With SafeSquid Proxy Server How To Enforce Google SafeSearch With SafeSquid Proxy Server
|



![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)



Recent comments
1 hour 7 min ago
2 hours 26 sec ago
4 hours 21 min ago
4 hours 38 min ago
5 hours 10 min ago
6 hours 25 min ago
7 hours 7 min ago
7 hours 35 min ago
15 hours 2 min ago
18 hours 32 min ago