Accessing Network folder with Different user name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a little help; I work at a large corporation which uses roaming
profiles. I wrote a program which saves images to a network folder. I need
help with accessing these images with a different user name and password
instead of the user who is logged on to the computer. The reason is: We lock
everyone from accessing certain servers and folders for security reasons. I
don't want the images accessed by the users who are logged into the computer,
instead I want to modify, add, and delete the images from my program and the
program user permissions. Is there anyway to Impersonate the user or map a
drive to the folder and then un-mount it when the program closes? Please keep
in mind that the user currently logged into the computer has no rights for
accessing that folder.

Thank you for you help
Terry
 
to prevent "raw" access to the file system/share, you would need to use a
service/web service as a broker.

The user would have to authenticate to the service and then use methods you
provide in your application to store and retreive data.
 
Back
Top