Anonymous vs NT logon

F

Fred

If I select Anonymous in IIS under Security for my application and provide a user other than IUSR which has permissions to create folders, etc. on another server, I am able to create the folder I need.

However, if I don't select Anonymous, and my NT logon is a user with permissions to create folders on the other server (found in Request.ServerVariables("LOGON_USER")), the applcation fails and I get a "Permission denied" error on the line of code where I tried to create the folder. Same code, just not selecting Anonymous.

Does the web browser run under a different user EVEN WHEN Anonymous is not selected? If so, how do I access the user and give it permissions?

I need to not use Anonymous as I capture the NT Logon and give permissions to the application based on that logon.

Any suggestions on how I can get the NT user ability to create a folder on another server through the application running in a browser?
 
B

Bob Barrows [MVP]

Fred said:
If I select Anonymous in IIS under Security for my application and
provide a user other than IUSR which has permissions to create
folders, etc. on another server, I am able to create the folder I
need.

However, if I don't select Anonymous, and my NT logon is a user with
permissions to create folders on the other server (found in
Request.ServerVariables("LOGON_USER")), the applcation fails and I
get a "Permission denied" error on the line of code where I tried to
create the folder. Same code, just not selecting Anonymous.

Does the web browser run under a different user EVEN WHEN Anonymous
is not selected? If so, how do I access the user and give it
permissions?

I need to not use Anonymous as I capture the NT Logon and give
permissions to the application based on that logon.

Any suggestions on how I can get the NT user ability to create a
folder on another server through the application running in a
browser?

See http://www.aspfaq.com/show.asp?id=2168
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,237
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top