Android Question Is GetSafeDirDefaultExternal Really as Safe as the Name Says

Mahares

Expert
Licensed User
Longtime User
To enforce run time permissions it is recommended to use GetSafeDirDefaultExternal if you do not want to use DirInternal, but is it really safe? I can still use a file manager, drill down to Android/Data/Pakagename/files/myfolder and do whatever I want to do with the files in myfolder, such as modify, delete, rename, etc. Wouldn’t that render the store not safe? Where does its safety come into play if there is such thing as safe?
 

DonManfred

Expert
Licensed User
Longtime User
Safe to write there without special Permission.
It is no indicator to be encrypted or somehow secured.
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
If something is labeled 'Safe', it must be protecting you from some harm. What is the harm that it is shielding me from. Where is the safety here if anybody can have access to the files in the folder, delete or destroy their content.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top