Re: asp.net client idenification
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 06/27/05
- Next message: Rob R. Ainscough: "ADO.NET security in Windows App?"
- Previous message: Tony Amos: "Network File Access"
- In reply to: catweezle2010: "Re: asp.net client idenification"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Jun 2005 12:00:23 -0700
Hello catweezle2010,
you have to disable anonymous access and enable integrated authentication
in IIS for the virtual directory.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Thanks Nicole!
> I tried it an there was no error message, but no value displayed. But
> I
> have the solotion:
> in web.config:
> <authorization>
> <deny users="?" /> <!-- Deny anonymous users -->
> <allow users="*"/> <!-- Allow all other users -->
> </authorization>
> in aspx:
> strUserName=User.Identity.Name
- Next message: Rob R. Ainscough: "ADO.NET security in Windows App?"
- Previous message: Tony Amos: "Network File Access"
- In reply to: catweezle2010: "Re: asp.net client idenification"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|