web.config question

  • Thread starter Thread starter bill
  • Start date Start date
B

bill

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 said:
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.
 
Back
Top