Results 1 to 7 of 7

Thread: [RESOLVED] VS2010 What type of security should I use?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    26

    Resolved [RESOLVED] VS2010 What type of security should I use?

    Hi,

    I was hoping someone could point me in the right direction as to what security technology I should use to meet my requirements.

    I need the following:

    - An ASP.Net Intranet site running on IIS7.
    - All users will be using Internet Explorer.
    - There is only one domain which is authenticated using Active Directory.
    - In Active Directory, the users are split up into Security Groups.
    - The user should be able to type in the URL, then see the website without any authentication. Their Security Group should have been passed through automatically by their windows logon. I would then like to control their webpage navigation menu access by their Security Group.
    - I need to somehow be able to log in as an alternate Active Directory user on the same computer if required.
    - The user logon details need to be able to be passed through to SQL connections.

    My questions are what technologies should I pursue to achieve all this?
    I've seen terms such as Windows Authentication, Kerboros, Impersonation etc which I am not sure is relevant or not.

    - Is Windows Authentication what I am after?
    - Does IIS somehow automatically pass in the users authentication information to SQL if I select Windows Authentication in the connection string?

    Any suggetions are appriciated.
    Last edited by davieeeee; Aug 5th, 2011 at 01:18 AM.

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: VS2010 What type of security should I use?

    Quote Originally Posted by davieeeee View Post
    Hi,

    The user should be able to type in the URL, then see the website without any authentication. Their Security Group should have been passed through automatically by their windows logon. I would then like to control their webpage navigation menu access by their Security Group.
    -
    For Accessing the user roles and name the user must be authenticated. While opening the page the user should be prompted to enter user name and password
    Please mark you thread resolved using the Thread Tools as shown

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    26

    Re: VS2010 What type of security should I use?

    OK so going by what you avae advised, I understand that there is no way to pass through Security Groups with a logon screen. That wont be a problem then, I can work with that.

    Is this still considered "Windows Authentication" or a different authentication method?

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: VS2010 What type of security should I use?

    If you are going to use the Active Directory Authentication Roles then have a look this example from MSDN
    Please mark you thread resolved using the Thread Tools as shown

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: VS2010 What type of security should I use?

    Hello,

    Yes, you can use Windows Authentication in ASP.Net:

    http://msdn.microsoft.com/en-us/library/ff647405.aspx

    However, to be clear the Groups that a user is a member of is NOT passed through in the request to the web site, you would need to access this information on the server, if required. If you used the Role Provider, which you can also hook up to Windows Authentication, then some of this work could be done for you. Take a look at the restricted menu sample in my signature. This uses Forms Authentication, but it can be made to work with Windows Authentication as well.

    Gary

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    26

    Re: VS2010 What type of security should I use?

    Thanks guys.
    While I am still digesting all of the information I beleive my inital question has been answered.

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: VS2010 What type of security should I use?

    Quote Originally Posted by davieeeee View Post
    Thanks guys.
    While I am still digesting all of the information I beleive my inital question has been answered.
    Glad to hear it!

    Let us know if you have any follow up questions.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width