This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 448
Brave.sqlite database should not be accessible from the Documents folder #195
Milestone
Comments
Is there a reason Brave.sqlite is stored in /Documents/ instead of (for example) /Library/Application Support/? |
@liunkae thank you. I agree and will update the ticket. |
This was referenced Sep 3, 2018
This was referenced Sep 5, 2019
Verification passed on iPhone XR with iOS 13.1 beta 2 running 1.12(19.09.07.03)
Verification PASSED on
Verification passed on iPhone 7+ with iOS 12.4.1 running 1.12(19.09.13.06)
|
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Due to
UIFileSharingEnabled
being set toYES
in theinfo.plist
files stored in the Documents directory are accessible using iTunes (even if the device is locked) once the device has been connected to a desktop computer and the device has been trusted. Once a device is trusted the only way to remove that trust is via General > Reset > Reset Location & Privacy on the device.iOS Storage Best Practices recommends storing user-visible content in the Documents directory and non user-visible content such as databases in the Application Support directory.
The Application Support directory can be hierarchical, is persistent, is included in iCloud and iTunes Backups unless files are marked with
NSURLIsExcludedFromBackupKey
, and disk space is reported in the Storage Settings UI under the "Documents & Data" total.iOS does not delete the Application Support directory if the application is offloaded.
Test Plan
Brave.sqlite
orDatabase
, etc... anything that looks remotely suspicious. There may be adownloads
folder (this is okay)The text was updated successfully, but these errors were encountered: