Hi Jason,

No, you can't restrict certain IP addresses or IP masks via the web.config.
You can write your own httpHandler and likely do this, but not something
as easy as adding an entry in the web.config.

Jim Cheshire
Developer Support
ASP.NET
[email]jamesche@online.microsoft.com[/email]

This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "Jason Brozek" <jasonb@bellevue.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>Subject: Web.Config File
>Lines: 5
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <COeUa.109212$o86.26916@news1.central.cox.net>
>Date: Fri, 25 Jul 2003 18:38:26 GMT
>NNTP-Posting-Host: 66.37.227.239
>X-Complaints-To: [email]abuse@cox.net[/email]
>X-Trace: news1.central.cox.net 1059158306 66.37.227.239 (Fri, 25 Jul 2003
14:38:26 EDT)
>NNTP-Posting-Date: Fri, 25 Jul 2003 14:38:26 EDT
>Organization: Cox Communications
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!p eer1.news.newnet.co.uk!pee
r1.news.newnet.co.uk!cox.net!news-xfer.cox.net!p01!news1.central.cox.net.POS
TED!53ab2750!not-for-mail
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162197
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Can the web.config file restrict by IP? If so how..
>
>Jason
>
>
>