I have a winform application that sometimes needs to log info to a local file when connection to service is broken. After reconnect all log files will be sent to the service for logging in database. Because the log is stored in the root of the application folder it can be read by other user accounts of the computer. So if user A that gets an exception do not have connection to the service the content of the logfile from user A will be sent when user B connects to the service.
The problem is that some users to not give write permissions to the root folder.
There is special user folders that could be used but the problem is that user B will not be able to send user A log file to service.
Is there any shared Windows folder where I always can write? Or do I have to require write permission of the root of the application?
Regards