If I have a database or text file which my ASP.NET application needs to access, but what I need to keep away from prying eyes, usually I would create a directory outside of the web site root and programmatically access the file in that location.
That didn't seem to work for me, so I have put the database file in the App_Data folder which prevents it being accessed outside of the web site. That's okay, but I would prefer to locate the file in a different location physically outside of the web site. Is this possible?
Andrew
That didn't seem to work for me, so I have put the database file in the App_Data folder which prevents it being accessed outside of the web site. That's okay, but I would prefer to locate the file in a different location physically outside of the web site. Is this possible?
Andrew