My aspx page implements a DLL (maded with VB6). DLL offer a method to search on file system, all TIF files.
Each folder has its own security, and each user access to the folder where it has permission
I set my site with windows integrated security, and add to my web.config the elements
<identity impersonate="true" />
Then, I add to aspx page a line code for show the current user
WindowsIdentity.GetCurrent().Name
... and add to DLL a method to show me the current user.
Result: Aspx page show me the current user account correctly (example: MyDomain\username). But DLL show the ASPNET user account.
Can I run a proccess or access a COM object with the current user ? Or allway take a ASPNET account to access to file system ?
THANKS (and sorry by my english)