IIS 6 Deny Access by IP except one folder

I have a website that I want to grant access only to specific IP addresses, except for one folder that Needs anonymous access granted to all.  Is there any way to do this?
Charles BaldoSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sumeshbnrCommented:
Just a thought > add an additional NIC to the server and add a new IP address in the same subnet and create a new website and select the new Ip address (instead of using all unassigned) in the website content folder should point to the"  folder that Needs anonymous access granted to all" .Make sure you have selected the IP address for

instead of adding a new NIC you can also add any additional IP to the existing NIC --need to try I am not sure .

Then filter using your corporate firewall or in the web server firewall.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Hi,

IIS6 allow or deny to configure  access to a specific list of IP addresses. IP addresses can be specified individually or as a group by using a subnet mask.

You can also specify IP addresses by using a domain name, but doing so adds the overhead of a DNS lookup for each connection.

You cannot allow specific ip addresses to a web site and allow annoynmous access to a page or folder within using iis manager.

On the other and you can write a program or using rewrite rule to accomplish this, though I have not done this before, but I have use iis rewrite rule

http://www.techrepublic.com/blog/webmaster/url-rewriting-with-iiss-url-rewrite-module/710

https://docs.gosecureauth.com/display/docs/URL+Rewrite+-+IP+Restrictions

 http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/8ad5602b-1f0d-4dc6-a288-c571394dc095.mspx?mfr=true
0
Charles BaldoSoftware DeveloperAuthor Commented:
Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.