Urlscan 3.1阻止用户代理

时间:2009-07-14 09:43:40

标签: iis user-agent urlscan

我需要阻止某些用户代理到我们的Sharepoint环境的请求,这些请求是在完成IIS日志后确定的。

我通过修改urlscan.ini配置文件并执行和iisreset尝试了以下内容,但它没有阻止任何内容。

我输入了正确的字符串吗?我正在从iis日志中复制用户代理字符串

http://blogs.msdn.com/rakkimk/archive/2009/06/12/urlscan-rejecting-the-request-depending-on-the-user-agent-string.aspx

1 个答案:

答案 0 :(得分:0)

您可以使用ISAPI_Rewrite执行此任务, 例如:

Block spambots

上的RewriteEngine

RewriteCond%{HTTP:User-Agent}(?:Alexibot | Art-Online | asterias | BackDoorbot | Black.Hole | \ 黑寡妇|河豚| botALot | BuiltbotTough |舷窗| BunnySlippers | Cegbfeieh | Cheesebot | \ CherryPicker | ChinaClaw | CopyRightCheck |宇宙|新月|丘斯托|迪斯科| DittoSpyder | DownloadsDemon | \ eCatch | EirGrabber | EmailCollector | EmailSiphon | EmailWolf | EroCrawler | ExpresssWebPictures | ExtractorPro | \ EyeNetIE |网际快车| Foobot | FrontPage中| GetRight时| GetWeb |!反超-GOT-IT |转到吉拉|!GrabNet | Grafula | \ 嘉实| hloader | HMView | httplib的|的HTTrack | humanlinks | ImagesStripper | ImagesSucker | IndysLibrary | \ InfonaviRobot | InterGET |互联网\ sNinja | Jennybot | JetCar | JOC \ SWEB \ sSpider | Kenjin.Spider | Keyword.Density | \ larbin | LeechFTP | Lexibot | libWeb / clsHTTP | LinkextractorPro | LinkScan / 8.1a.Unix | LinkWalker | LWP平凡| \ 大众\ sDownloader | Mata.Hari | Microsoft.URL | MIDown \凳| MIIxpc | Mister.PiX |老总\ SPIX | moget | \ 的Mozilla / 3.Mozilla / 2.01 |。Mozilla的 NEWT | Navroad | NearSite |网络蚂蚁| NetMechanic | NetSpider |净\ sVampire | \ NetZIP | NICErsPRO | NPbot |章鱼| Offline.Explorer |在线\ sExplorer |在线\ sNavigator | Openfind | \ Pagerabber |爸爸\ sFoto | pavuk | pcBrowser |程序\ sShareware \ S1 | ProPowerbot / 2.14 | ProWebWalker | ProWebWalker | \ psbot / 0.1 | QueryN.Metasearch | ReGet | RepoMonkey | RMA | SiteSnagger | SlySearch | SmartDownload | Spankbot |扳手| \ Superbot | SuperHTTP | Surfbot |铃兰| Szukacz / 1.4 |外卖|坐骑瞬移\ SPRO | Telesoft | The.Intraformant | \ TheNomad | TightTwatbot |泰坦| toCrawl / UrlDispatcher | toCrawl / UrlDispatcher | True_Robot | turingos | \ Turnitinbot / 1.5 | URLy.Warning | VCI | VoidEYE | WebAuto | WebBandit | WebCopier |。WebEMailExtrac | WebEnhancer | \ WebFetch | WebGo \ SIS | Web.Image.Collector |网站\ SIMAGE \ sCollector | WebLeacher | WebmasterWorldForumbot | \ WebReaper | WebSauger |网站\ seXtractor | Website.Quester |网站\ sQuester | Webster.Pro | WebStripper | \ 网络\ sSucker | WebWhacker | WebZip | Wget的|婚姻| [WW] EB [BB] andit | WWW-收藏家-E | WWWOFFLE | \ Xaldon \ sWebSpider | Xenu | Zeus)[NC]

RewriteRule。? - [F]