Ask a Question related to ASP.NET Security, Design and Development.
-
Little Little #1
Can't get logonuser
I would like to get user logon from server by
USERLog = Request.ServerVariables("LOGON_USER")
but it isn't see. i don't know what the problem and how i can
solve in this. But i try to get other value can see it.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Little Little Guest
-
LogonUser from ASP.NET
Hello everybody, this is rather complicated, but intriguing problem that I have been having. What I want to do is: after user connects to my... -
problem with impersonation using LogonUser
Hello All This is what I am tring to do: I have some folders shared for specific users on network. Now from my web appl I have to access them.... -
Framework v1.1 & LogonUser workaround
Greetings I am working on a project that can be configured to use Windows or Forms authentication. Occasionally the process may need to impersonate... -
LogonUser API Help
Hello, I am trying to authenticate a windows user using LogonUser API on our website. I am able to authenticate and impersonate the user just... -
Impersonation in ASPNET and LogonUser
Have you taken a look at the asp.net security best practices paper? It discusses some of the pitfalls and issues when using impersonation.... -
Naveen K Kohli #2
Re: Can't get logonuser
For this to work.. you need to use Windows Authentication or Basic
authentication and turn off anonymous acess in IIS.
--
Naveen K Kohli
[url]http://www.netomatix.com[/url]
"Little Little" <leksawat@hotmail.com> wrote in message
news:O0TyST8WDHA.2256@TK2MSFTNGP10.phx.gbl...>
>
> I would like to get user logon from server by
> USERLog = Request.ServerVariables("LOGON_USER")
> but it isn't see. i don't know what the problem and how i can
> solve in this. But i try to get other value can see it.
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Naveen K Kohli Guest
-
Dave Clark #3
Can't get logonuser
After looking again, I think the WindowsIdentity gets the
<domain>\<username> instead of what I say below.
what>-----Original Message-----
>I'm pretty new at ASP.Net, but even when I had Anonymous
>off and Integrated Windows Authentication on,
>ServerVariables("LOGON_USER") is still empty. Here'sParse>I did to get the logged on user.
>
>Dim thisUser As System.Security.Principal.WindowsIdentity
>
>Dim UserLog As String
>
>UserLog = thisUser.GetCurrent.Name.ToString
>
>UserLog will contain the <machineName>/<logged on user>,
>such as ntsrvr1/ASPNET, if you're running in debug.and>out "ASPNET" for the logged on user.
>
>>>-----Original Message-----
>>
>>
>>I would like to get user logon from server by
>> USERLog = Request.ServerVariables("LOGON_USER")
>>but it isn't see. i don't know what the problemit.>how i can>>solve in this. But i try to get other value can see>***>>
>>*** Sent via Developersdex [url]http://www.developersdex.com[/url]>.>>Don't just participate in USENET...get rewarded for it!
>>.
>>
>Dave Clark Guest



Reply With Quote

