Authorized Users to access ASP pages using IIS 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • techno01
    New Member
    • Mar 2008
    • 2

    Authorized Users to access ASP pages using IIS 6.0

    Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005 for this website using ASP forms.
    How do I set up the permissions so when users click on this site the page will launch "You are not authorized to view this page"? and only authorized users using group can access the site. I configured the IIS where right click on the application - Properties - Directory Security and uncheck Anonymous Access and selected Integrated Windows Authentication. I know that there are additional coding and don't know whether to use web.config or VB Class. Please help don't know much about VB programming.
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi techno01,

    If you've already selected Integrated Windows Authentication then using file explorer you need to find the folder which contains the application, right click and go to the security tab. You need to ad your AD group and give them the required permissions and exclude everyone from the list that you don't want to give access to.

    When a member of your AD group browses your site they should be prompted to enter their windows username and password which will give them access to your site.

    Let me know how you get on,

    Dr B

    Comment

    • techno01
      New Member
      • Mar 2008
      • 2

      #3
      Dr B,

      Thanks for your reply, I added the group and gave the proper permissions and "Everyone" with deny access (inetpub - wwwroot -application name) but I get "server unavailable" page when I browse the page. Is there a way that when the group clicks on this site it doesn't prompt to enter the username and password since they are already logged on with their username and password? The others when they click should get a page saying" You are not authorized to view this page. Please request to access the site".

      Techno01

      Originally posted by DrBunchman
      Hi techno01,

      If you've already selected Integrated Windows Authentication then using file explorer you need to find the folder which contains the application, right click and go to the security tab. You need to ad your AD group and give them the required permissions and exclude everyone from the list that you don't want to give access to.

      When a member of your AD group browses your site they should be prompted to enter their windows username and password which will give them access to your site.

      Let me know how you get on,

      Dr B

      Comment

      Working...