Allan_Fernandes
asked on
Authentication of Shared Drive Programatically
My application requires to copy data to \\yourUNC\path which is password protected
My application is aware of the UserName and Password.
If I use
Net Use \\yourUNC\path /username password
then that Share will be accessible from Windows Explorer too until it is deleted which is a security lapse.
My application is aware of the UserName and Password.
If I use
Net Use \\yourUNC\path /username password
then that Share will be accessible from Windows Explorer too until it is deleted which is a security lapse.
Setup a scheduled task and let the system account do it. network drives are per-user, it won't be accessible by others.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use my suggestion and you're protected all the time.