I have created a system for our internal intranet that allows users to upload images to a remote server (both servers are on our domain). I have created an account in AD and am using this for impersonation
<authentication mode="Windows"/>
<authorization>
<allow roles="Guest, Normal, Knowledge Base Manager, IT"/>
<deny users="*"/>
</authorization>
<roleManager defaultProvider="RoleHandler" enabled="true" cacheRolesInCookie="false">
<providers>
<clear/>
<add name="RoleHandler" type="RoleHandler" applicationName="BSDB"/>
</providers>
</roleManager>
<identity impersonate="true" userName="ourdomain\account" password="somepassword"/>
I have set the permissions on the remote servers folder to allow read and write.
I can upload images to the directory however when i check the security audit on the remote server there seems to be a few puzzling entries. The first entries are for the account im using to impersonate which makes sense but then for some reason there seems to be failure entries using my own windows account on the upload directory.
Also once uploaded the images should be opened and displayed however they are not being displayed, even though the path is correct (im getting the IE red X)
Looking through the forum ive seen alot of talk about delegation, but am not sure this is what i should be using. Does anyone have any ideas?
Thanks in advance