I have to write files to a hidden location in WPF.
I do not want the user to be able to locate these files.
When I’m done writing I plan to upload these files to a separate location.
What is the best location to write to for this scenario.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is not possible.
More experienced users will always be able to locate files you modify, using tools like Process Monitor.
If you don’t want users to see the contents of the files, then encrypt them.
The best location to store application-specific data is
%AppData%\YourApp\(this is a per-user folder). You’ll have write privileges to this folder even if the user isn’t administrator.If you try to save files to location where they need administrator privileges, you’ll get User Account Control Dialog Box, and they will recognize that your application tries to access unauthorized location.