The example I’ll use is with an internet browser app — let’s say Opera. If I allow its storage permission, I can download files on my phone (write) but the app can read its storage as well (I verified this by hitting
file:///storage/emulated/0/ in the pathbar and I could freely browse all files on my phone).
If I deny its storage permission, it can no longer access
0/ but it also cannot download files.
If the download directory is pre-determined by the user, can we force it to only write and not read, thus being able to download files, without risking leaking data from our files to the app? I’m guessing maybe through ADB or something?