Re: web.config question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 06/05/04


Date: Fri, 4 Jun 2004 22:51:09 -0400


"bill" <anonymous@discussions.microsoft.com> wrote in message
news:1882501c44a99$aaab20d0$a101280a@phx.gbl...
> Is there some way I can add additional authorization in
> my web.config for a specific folder that checks IP
> address?
>
> I know I can place an additional web.config file in this
> specific folder, but what exact syntax can I place in the
> config file that would allow access only from specific IP
> addresses?

There is no built-in authorization module which restricts by IP address. You
would have to write your own IHttpModule implementation for that.

-- 
John Saunders
johnwsaundersiii at hotmail


Relevant Pages

  • web.config question
    ... Is there some way I can add additional authorization in ... my web.config for a specific folder that checks IP ... but what exact syntax can I place in the ... config file that would allow access only from specific IP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Find/Replace function
    ... I completely agree that a config file is the way to go. ... but the reason I was asking for the function to ... I drag them from one sourcesafe folder (called ... > file ends up in my project folder when I check it out. ...
    (microsoft.public.vb.general.discussion)
  • Re: running winform exe from the web
    ... The folder is set up to be trusted, and I have a winforms application ... open the config file directly in the browser, ... I haven't done anything in particular with the web server or the folder, ... >> I even don't see the MyObject in the GAC directory. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Forms Authentication for only one folder
    ... you wonder how to configure an particular folder to have different ... authorization setting as the main web application, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: .NET Framework 1.1 installed, but VS still sees 1.0
    ... to the project's \bin folder (in fact, to the folder where you will start ... | I recently downloaded and installed the .NET Framework 1.1. ... | Microsoft Development Environment menu item in the Help menu of Microsoft ... I would like to point out that the config file trick does not work. ...
    (microsoft.public.dotnet.languages.vb)