File copy to secure location.

T

Todd Sparks

I am developing with VB.NET 2005 and I need to copy a file from somewhere on
the users machine to a secured location on the server. I am creating an
image archive system that will allow users to select image files from
basically anywhere, once they add the file to the archive I will write any
metadata that they enter about the file to my database then I want to copy
the file to a hidden secure location on the network. I want this location
to be 'locked down' except through my application. How can I achieve this?
I think I can create a user with permissions to the location, then have my
program impersonate that user, but I'm just not sure how to do this.

Thanks.
 
G

Guest

I want this location
to be 'locked down' except through my application. How can I achieve
this? I think I can create a user with permissions to the location,
then have my program impersonate that user, but I'm just not sure how
to do this.

Is the server secure? If it is - just let the server write to the local
disk (no impersonation needed).

Otherwise write to a database - and use some sort of permission system to
protect the images.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top