Last post Oct 20, 2018 08:11 PM by Mikesdotnetting
Oct 20, 2018 07:54 PM|mwinner|LINK
I'm pretty sure this cannot be done... but... you never know.
I'm programming an intranet site for a small computer. Part of the program allows the user to download, edit, and upload a Word document. The thing is, I want to make sure the Word document is deleted from the USER'S computer (not the server), after it
is uploaded, so we don't have copies of the document laying around. Is there anyway to for the user to allow the program access to search and delete that file off their computer? Obviously, it cannot be done automatically, for simple security, but perhaps
there is a way, to allow the user to grant the program permission?
Thanks a lot!
Oct 20, 2018 08:11 PM|Mikesdotnetting|LINK
No. You cannot delete files on the client from a web application for the obvious security reasons. You will have to create a client application (console, windows service etc) that can get a list of files that the user has downloaded and then search the
users hard drive for them and then delete them.
Further discussion on how to do that is off topic here.