app_data folder security...

M

mike

when website publish on web server the files of app_data such as database
file *.mdf

is it safe? is it common
 
J

Juan T. Llibre

Yes, it is safe. Thay cannot be directly requested from the web.

Any *.mdf files placed in the App_Data directory are covered by:

<add path="*.mdf" verb="*" type="System.Web.HttpForbiddenHandler" validate="true" />

That's included in your base web.config
in the CONFIG subdirectory of the .Net Framework 2.0.

See the web.config.comments file in that directory
for a complete list of protected files.
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top