Hi,
Anonymous access is our need and we cannot eliminate it. Is there
any other solution?
Jim Brinkman <[EMAIL PROTECTED]> wrote:Hi,
I think in IIS on the server you are running the site on you will need to
remove anonymous access from the security settings on this web site and turn on
the Windows authentication and/or Basic authentication based on your security
needs. IIS will use the anonymous access first if it is turned on for your site
and you won't be able to capture the logged on user.
"Muhammad Amir(ameer)" <[EMAIL PROTECTED]> wrote:
hi all,
I have created an aps.net application. In web.config file we have
but we are not using authorization tag. also
we have . We are also using the anonymousaccess
and giving one local user in the fields of anonymous access. It is required
for our application.
Now my problem is that, i want the name of user who is accessing the
application. for example, if a person accesses the application from a remote
computer, then i need that the identity of that user is displayed. During
current situation, when i use "User.Identity.Name", then on runtime, null is
returned from this property. and when i use
"System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()",
then on runtime, when i access the application from a remote pc,then the name
of user given as anonymous access is display rather than the actual user. Can
somebody help me how can i get the actual user name keeping the conditions
mentioned in first paragraph as it is.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
Yahoo! Groups Links
---------------------------------
Do you Yahoo!?
Make Yahoo! your home page
[Non-text portions of this message have been removed]
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Wishing For Your Prayers
Muhammad Amir
---------------------------------
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/