Ask a Question related to ASP.NET Security, Design and Development.
-
Klaus Jensen #1
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
-
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... -
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... -
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... -
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... -
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."... -
Klaus Jensen #2
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



Reply With Quote

