A
Andy V
I have developed an Office 2003 Word application that uses a service account
to gain access to write files to a network server that ordinarily the user
can only read from. I do this using 4 win32api functions LogonUser,
ImpersonateLoggedOnUser, RevertToSelf, and CloseHandle wrapped in a VBA class
module contained in a Word global template. This seems to work nicely most
of the time. However, on two separate occasions the application has crashed
while saving files under the security context of the service account. When
this happens all of the icons disappear from the users desktop and he loses
access to it. Word restart is abnormal displaying a string of asian font in
a dialog box. To fix this the users profile must be rebuilt.
Does anyone have any suggestions on a better way to elevate the users
permissions for a network resource? or Are there any suggestions on what
might be causing this problem?
Thank you,
Andy V
to gain access to write files to a network server that ordinarily the user
can only read from. I do this using 4 win32api functions LogonUser,
ImpersonateLoggedOnUser, RevertToSelf, and CloseHandle wrapped in a VBA class
module contained in a Word global template. This seems to work nicely most
of the time. However, on two separate occasions the application has crashed
while saving files under the security context of the service account. When
this happens all of the icons disappear from the users desktop and he loses
access to it. Word restart is abnormal displaying a string of asian font in
a dialog box. To fix this the users profile must be rebuilt.
Does anyone have any suggestions on a better way to elevate the users
permissions for a network resource? or Are there any suggestions on what
might be causing this problem?
Thank you,
Andy V