Restrict Access to Page Without SQL Database

Discussion in 'ASP.NET / ASP.NET Core' started by ahollobaugh, Apr 7, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I need to restrict access to a page. I tried using the IIS to restrict but it requires a database. I am working on a site for a non-prophet and do not want the extra expense of a SQL database. Are there any other options to restrict access?
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    You can password-protect a directory by removing access for anonymous user in web.config. Please see this KB article that explains how to do that.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page