Servergrid UserLink

... connection ... education ... discovery ... information ...
Welcome to Servergrid UserLink Sign in | Join | Help
in
Home Blogs Forums Photos Downloads Servergrid Join Now Private Messages

Use of App_Data folder with ASP.Net

Last post 02-02-2010, 7:12 AM by Budsy. 1 replies.
Sort Posts: Previous
  • Use of App_Data folder with ASP.Net

     05-24-2009, 9:23 AM

    • Joined on 05-24-2009
    • Posts 7
    • Points 39
    • Top 25 Contributor

    I am converting an ASP.Net 1.1 app to ASP.Net 3.5.  Apparently there is a security enhancement that doesn't allow asp.net 3.5 apps to reference folders lower than the application (i.e. ../Database) which is what we had done before to use an Access database.  I would prefer not to get into a debate regarding why we're using Access instead of the Sql Server database (but there are valid reasons).

    My question is: should we be ok adding an App_Data folder to the application and putting our databases there? (I ask because it seems like before it was dictated that they must be in the database folder at the root of the hosting account folders.

     Thanks,

    Robert

  • Re: Use of App_Data folder with ASP.Net

     02-02-2010, 7:12 AM

    • Joined on 10-18-2009
    • Moscow, Idaho
    • Posts 9
    • Points 46
    • Top 25 Contributor
      Male

    App_Data is a good place to keep your Access .mdb files. Things in App_Data won't get served by IIS, so you don't have to do too much to secure it. Servergrid's webs appear to default to all write permissions on the whole site, so that's no problem either.


    *****************
    * Budsy **********
    *****************
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems