Monday, March 26, 2012

web.config question

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?"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

0 comments:

Post a Comment