A
Andy Fish
Hi,
in my ASP.NET web app, I have some config and data files. For convenience, I
would like to keep them under the application root directory on the web
server, but I don't want IIS to be able to serve them up to a user directly.
In the J2EE world, I would just stick them underneath the WEB-INF directory,
because that's a special reserved area that can never be accessed by the
client. What's the best way of doing something like this with asp.net?
I don't really want to rely on diretory permissions or specific IIS settings
because that's the kind of thing that gets lost when you copy it from one
machine to another. The files underneath this area might have any old file
extensions.
TIA
Andy
in my ASP.NET web app, I have some config and data files. For convenience, I
would like to keep them under the application root directory on the web
server, but I don't want IIS to be able to serve them up to a user directly.
In the J2EE world, I would just stick them underneath the WEB-INF directory,
because that's a special reserved area that can never be accessed by the
client. What's the best way of doing something like this with asp.net?
I don't really want to rely on diretory permissions or specific IIS settings
because that's the kind of thing that gets lost when you copy it from one
machine to another. The files underneath this area might have any old file
extensions.
TIA
Andy