Q:

Protect folder from external requests

Im working with asp.net 2.0, and i have a folder into my application path ~/Data/ with some .mdb files. 
I would like to protect this folder from external request like http://www.whatever.com/Data/whatever.mdb
But i would need to give any permission to my application, cause im using OleDBConnections agains the ~/Data/ Path. 
What could be the best way to protect this folder? 
Kind Regards. 
Josema. 

A:

In IIS manager and remove at least anonymous access if not all access.   Your application code can continue to use its contents but HTTP requests can not access it.