Re: asp.net client idenification
From: Nicole Calinoiu (calinoiu)
Date: 06/27/05
- Next message: Nicole Calinoiu: "Re: Verifying Signed Files Downloaded via HTTP"
- Previous message: catweezle2010: "asp.net client idenification"
- In reply to: catweezle2010: "asp.net client idenification"
- Next in thread: catweezle2010: "Re: asp.net client idenification"
- Reply: catweezle2010: "Re: asp.net client idenification"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Jun 2005 08:28:24 -0400
See http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetAP05.asp for
the various combinations of IIS and ASP.NET authentication that will allow
you to read the client identity from server-side code. Also, unless you set
ASP.NET to impersonate the client user, you'll have better luck using
HttpContext.Current.User than WindowsIdentity.
"catweezle2010" <catweezle2010@gmx.de> wrote in message
news:1119874450.138611.197190@g47g2000cwa.googlegroups.com...
> Hello,
>
> I have to identify the user of an asp.net site by his windows login
> name (like environment.currentuser in Access). Till a few days I'm
> trying several scripts I've found. For example:
> strLogonName =
> System.Security.Principal.WindowsIdentity.GetCurrent().Name
>
> But this one displays only the asp-account on the Server and I need the
> windows user login on the client.
>
> We are working in a windows2k environment with iis 6 and asp.net 1.1.
>
> Thanks for help!
>
- Next message: Nicole Calinoiu: "Re: Verifying Signed Files Downloaded via HTTP"
- Previous message: catweezle2010: "asp.net client idenification"
- In reply to: catweezle2010: "asp.net client idenification"
- Next in thread: catweezle2010: "Re: asp.net client idenification"
- Reply: catweezle2010: "Re: asp.net client idenification"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|