[Mono-aspnet-list] unintentional App_Data external access Apache

japsai japsai at gmail.com
Thu Feb 17 12:48:40 EST 2011


Hi All,

I deployed a simple web project with ASP.NET MVC on a server running Ubuntu
with Apache. 

I used the Apache Mono Configuration tool, for an "Application"/ virtual
directory: http://go-mono.com/config-mod-mono/.

However, surfing to mydomain.com/myapp/App_Data/mydatabase.db downloads my
database? 

www-data (the apache user) has read/write permissions on App_Data, which i
think is necessary..

How do I configure this so only the typical static files (i.e. in /Content)
can be downloaded?

Thanks for any help,

Jasper
-- 
View this message in context: http://mono.1490590.n4.nabble.com/unintentional-App-Data-external-access-Apache-tp3311287p3311287.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list