Larry Brister
asked on
IIS user identity
On our Intranet I have a web site
When I have no web.config forms authentication
and
Set IIS security to Window and turn anonymous access OFF
Then for myself (an Administrator) I can see User.Identity.Name
If I turn anonymous access on User.Identity.Name goes away
I need it on, but when I do, I can access...but the end users in our network get a popup window for access.
What is the correct way to do this?
Let them enter their domain/username and password and save?
Add something to their login?
Uncharted territory for me.
When I have no web.config forms authentication
and
Set IIS security to Window and turn anonymous access OFF
Then for myself (an Administrator) I can see User.Identity.Name
If I turn anonymous access on User.Identity.Name goes away
I need it on, but when I do, I can access...but the end users in our network get a popup window for access.
What is the correct way to do this?
Let them enter their domain/username and password and save?
Add something to their login?
Uncharted territory for me.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
All you should need to do is grant permissions on the Iur_Account (or whatever you're using for your app pool_identity) to the directory where the files are located. Then anyone should eb able to access it via anonymous access.
ASKER
hey guys...I want to be able to see their domain name with either Environment.GetEnvironment Variable(" USERNAME") or with
User.Identity.Name
User.Identity.Name
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
paulmacd
makes sense...how do I do that?
Add Domain Users to the folder?
makes sense...how do I do that?
Add Domain Users to the folder?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks