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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top