Making a private folder

Discussion in 'ASP.NET 2.0' started by TheKid101, Dec 23, 2007.

  1. I have an access database in a folder. How can I prevent that database from being downloaded from anyone?

    Thanks.
     
  2. Best solution is to use the _database folder created by DASP.
    They provide download protection for that folder.

    For other folders you can provide protection in your Control Panel.
    Also possible to lightly protect a folder with dynamic code by putting a default page in the same folder.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    In addition, if your site is configured to ASP.NET 2.0 (default), no one can download the .mdb file because ASP.NET will intercept the request.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page