|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Anonymous vs NT logon
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? Fred wrote:
Show quote > If I select Anonymous in IIS under Security for my application and See http://www.aspfaq.com/show.asp?id=2168> 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? -- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup. |
|||||||||||||||||||||||