AppData
being application-specific data, it still allows other apps to potentially access data of other apps if they run within same user context.
Yes, we could delete rclone
folder after app quits but it has couple caveats.
a) Such delete wouldn't be guaranteed, as app or your OS may crash before delete / graceful quite happens.
In such case if we assume that data gets deleted, but for some reason it wasn't, it's a fail from a security perspective and perhaps it's better to not rely on it at all?
b) The location of AppData\Roaming\rclone
is default location of https://rclone.org/
We can't really make a decision to delete it, as we don't know if it existed before and whether user added their own configurations outside of S3Drive scope.
Deleting Rclone file risks deleting user credentials from their machine.
Potential solution
We plan to implement Rclone encrypted config: https://s3drive.canny.io/feature-requests/p/rclone-encrypted-config
In such case, user will be able to set an encryption password so this file stays encrypted on-rest. (edited)