protecting directories from people navigating into them

Discussion in 'ASP.NET / ASP.NET Core' started by sinsabit, Jan 11, 2009.

  1. Hi,

    Over and above the forms authentication protection in the web.config file, I want to stop people being able to actually navigate their way into any given directory.

    How can I do this?

    Thanks

    Paul
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for that,

    But it seems to stop all access to that download now, even if i use a link to refer to it.

    is there a way to free up access if accessing through a link?

    thanks

    Paul
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    directory browsing should not block download if you specify the file name. what error are u getting??

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page