Setting up the right kind of authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Setting up the right kind of authentication

    Hi!

    I need to restrict access to an intranet-site

    - The users are already logged in on their workstations (NT/Domain)
    - I need to be able to retrieve their username for logging purposes
    - The users must not be presented with a "login"-window - the are already
    logged in!

    This spells "Integrated authentication", right?

    Then I need to get it working.

    1. The site is set to "integrated security"
    2. I set authentication to "windows" in web.config

    And here is where my research have left me no others choices than to ask
    here.

    How do I get the NT-username, once the user has access to the site?

    An example on gotdotnet suggest I add a sub in global.asax:

    Sub WindowsAuthentication_OnAuthenticate(ByVal s As Object, ByVal e As
    WindowsAuthenticationEventArgs)

    but e.Identity.name is blank.

    The example also mentions an IPrincipal class, but I have not been
    successfull in implementing it.

    Where do I go from here? What am I missing? Is there a good ressource on
    this subject?

    I have already read...:
    [url]http://msdn.microsoft.com/library/en-us/dnbda/html/authaspdotnet.asp?frame=true[/url]

    Thanks in advance

    - Klaus


    Klaus Jensen Guest

  2. Similar Questions and Discussions

    1. what kind of .txt does CF generate?
      Why in the world would a text file that I generate with CF not work when I use it exactly the same and it looks identical to the exact same code...
    2. Different kind of sort
      Hi, I read the previous posting on sorting backwards, but I have a different kind of problem- sorting by property. Does anyone know how I can get a...
    3. Setting the Authentication Method on IIS from my SETUP project
      Hello, How's everybody??? Hey I have a quick question. How can I set up the Authentication Mode on IIS from my SETUP project. I'm using...
    4. Setting Forms Authentication...
      Hi there, I am trying to use an entry level security for my resources website. I followed the procedures in the MS published Self-Paced Training...
    5. because it is not the right kind of document
      When trying to open .tif files in Photoshop 6.0, I get the following error message, "Could not open...because it is not the right kind of document."...
  3. #2

    Default Re: Setting up the right kind of authentication

    "Klaus Jensen" <msnews2@icatech..dk> wrote in message
    news:Odgl0zfdDHA.3448@TK2MSFTNGP11.phx.gbl...

    [blushing]

    Of course it would not work, when I tested on my workstation - not on the
    server, where I had the security configured.

    Sorry! [blushing even more] :)

    - Klaus



    Klaus Jensen Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139