Lurker News
I remember I was using Google login to login to my Dropbox and in the last year or so Dropbox started asking me to access my contacts in Google. I would always deny access and still manage to successfully login. Yesterday I tried the same but with no luck. I contacted Dropbox support and this is their reply:

> I'm afraid that is not possible at the time. I apologize for any inconvenience this may cause.
Interesting that they chose this route when users are getting more and more privacy-aware.

Comments (384) 48 threads

Show all comments

Showing thread 3 of 48

grishka18 replies#
I really wish mobile OSes would allow you to grant apps permissions but serve fake data, (that's important!) without giving the app the ability to tell the difference. Just so it appears to the app that you've given the permission, when you in fact have not. This would solve this entire class of problems and then some. So, for example:

- App "has" access to contacts, but the system returns that you have none.
- App "has" access to location, but the search for GPS satellites never completes.
- App "has" access to storage, but it's actually /dev/null.

tomsmeding2 replies#
While for contacts and location that would be a good feature (I agree!), I'm not so sure about storage. It may be nice for certain rogue apps (or ones that request permissions they don't actually need) to give them /dev/null without them knowing, but that may actually result in bugs and unstable behaviour if apps are written to expect working storage.

Storage doesn't have a built-in failure mode like contacts and location have.

grishka1 reply#
Okay, you're probably right. It might be a better option to give an app a sandboxed storage location instead, just so the files it put there remain there because it might expect to find them there later.
dmd2 replies#
... isn't that exactly what access to storage does? Do any (mobile) platforms give access to NON sandboxed storage?
Ensorceled#
No, sandboxed means restricted to that application. Apps need permissions to access data outside of their sandbox. They are suggesting that there be another sandboxed storage for apps that pretends to be read data.
Hizonner1 reply#
All apps get sandboxed storage without even asking. On Android at least, permission for "storage" means permission for an area shared between all apps. And a lot of apps dump stuff into it that you do not necessarily want every other app to have access to.

It's always been that way.
What it really needs is some kind of compartments, so that you can share storage between X and Y, and between Z and W, but not between X and W.

ascar#
I just installed Signal two days ago and enabled backups.

This asked, understandably, for storage permission. This prompted me to give access to the sdcard, however, I had the option to select a single folder (or actually directly creating it within the prompt) that the app will have access to. I.e. Signal now has access to sdcard/signalbackups/ but not to the whole sdcard. (unless this whole new permission process wasn't Android but the Signal app. I rarely download apps and have to give storage permissions).
This used to be different, but times of giving access to full internal or external sdcards are over. Unfortunately though, the UX isn't perfect. I felt like I needed to know that I only want to give it access to a part of the sdcard and actively look that this is indeed possible. But that might be my bias from previous usage talking.

a1369209993#
> Storage doesn't have a built-in failure mode like contacts and location have.

Yes it does: disk full. It's perhaps a bit less reasonable to expect a program to keep working properly in such a case, but it needs to be handled somehow.

mot2ba#
You could check MIUI or Realme which already has that feature.
VoxPelli1 reply#
iOS almost allows this for geo-location nowadays, where one can pick whether to give ones exact position or a much less exact position, and for photos where one can select exactly what photos the app should get access to.
higerordermap2 replies#
Does android have this API? The problem I see is, if they are introduced in later versions, people are anyway used to apps asking these permissions and developers don't bother to use these.

Also, a question to security experts: In many apps say we want a UX where the user would immediately be able to see their recent pics and select from them (think recent photos bar in whatsapp), but app shouldn't be able to access them. Is it safe if OS provides it as a screen overlay service which doesn't require a separate screen/window, but runs out of process (a la file picker).

grishka1 reply#
Android has a better API, and has had it for at least 5 years. An app can open the system UI for you to choose a file, and it would then only get access to that particular file while the activity (screen) that requested it is running. As far as the user is concerned, this requires no permissions. Under the hood, the app gets a content:// URI with an "URI permission" granted. This is also how sharing (Intent.ACTION_SEND) works. You could as well use this mechanism to expose the content in your app to other apps in a controlled manner.

Continue this thread — 1 reply

Continue this thread — 2 replies

throwaway2245#
iOS has started doing this, at least for photos.
grenoire2 replies#
App developers find out about this practice as it gets more commonplace. They add a check for 'empty' data or resolution failures. If these checks notice that you had been providing null or fake data, the app now gives you an intrusive yet pleading popup to please lift the privacy measures.

You get annoyed, resenting the fact that your friends are using this piece of garbage. Reluctantly you lift the measures, forget about it, and just keep using the app.

Redoubts#
That would get you banned in the Apple App Store
userbinator1 reply#
Just like with adblockers and anti-adblockers, you then go one level deeper...

It's a cat-and-mouse game. As long as you have full control over your device, you win.

matheusmoreira#
At some point we're going to have to reverse engineer apps and come up with hopefully free software replacements...
JimDabell#
Not quite the same thing, but if you use Sign in with Apple, the application gets an Apple email address, and Apple forwards the email on to you.

Facebook Login used to have this as an option too, but stopped years ago.

pteraspidomorph#
Sad to have just learned from that link that Privacy Guard is gone. That has indeed been a key Cyanogen/LineageOS feature for me for years (my phone is still on 16). I can't say I understand the decision to remove it.
Aissen#
Yes, but it cannot be the sole feature. This should be done for compatibility with old apps, but also explicitly forbidden in the app stores that any app try to work around that by doing any kind of active detection.
birksherty1 reply#
I use xprivacy lua in android that does exactly this. It's not simple for general public though and it needs root.
Erlich_Bachman1 reply#
Does it still work in recent Android versions though?
birksherty#
Depends if your rom supports edxposed properly which is for android 9 onwards.
jve1 reply#
Well, from user perspective would be useful, but I don't have much expectations it would be implemented in, say, Android. They ofcourse want quality data.

Haven't done in-depth Android development, but I believe there is option to fake some GPS data? Ofcourse, not that helpful if you want 1 app to have real data, the other... not so real.
Proper way would be force devs think about REQUIRED and OPTIONAL permissions you can give. REQUIRED permissions are given on launch (or maybe you just get useless app), OPTIONAL permissions for improved features and fails gracefully if not given. It currently works that way, but is up to developer to implement it that way.
Perhaps adding advantage to those apps that do not REQUIRE sensitive permissions. Say a filter in Play Store you can use to filter our apps that require X permissions to work. In some cases, devs would be incentivized to REQUIRE less permissions.
When writing this comment, I thought about another solution. User profiles on android. Like on browser, where you get your own cookies etc. Googled around and.. looks like Android has something to offer!? Doesn't solve location, but perhaps Storage/Contacts.
https://source.android.com/devices/tech/admin/multi-user
https://support.google.com/nexus/answer/2865483?hl=en
> Notifications appear for all accounts of a single user at once.
> Notifications for other users do not appear until active. Each user gets a workspace to install and place apps.
> No user has access to the app data of another user.
> Any user can affect the installed apps for all users.
> The primary user can remove apps or even the entire workspace established by secondary users.

grishka#
I'm primarily an Android developer myself and I do respect my users and that's why I have no job, so yes, I request permissions only when they're absolutely necessary and when it's obvious as to why the permission is needed.

The bigger problem, though, is that you can't trust bad actors to act good. DNT in browsers has showed that extremely clearly: it was meant as a marker for you to not be tracked, yet advertisers used it as an additional bit for fingerprinting. Policy might be a way, but it relies on humans looking at apps. It's always much more effective to have technical measures in place, if possible. As in, no mater how much you'd like, you can't track a user across the web if their browser doesn't accept third-party cookies. And many app developers are in no way better than web developers with their incentives, intentions and tactics, it's just that the web makes these issues more noticeable.

ffpip#
OPPO's colourOS as this.

> The Personal Information Protection feature is a very clever way to bypass this situation. You can turn on protection for call logs, contacts, messages, and events. Once protection is enabled, ColorOS 11 will send apps empty information, tricking the app into accessing the blank data.
https://www.xda-developers.com/oppo-coloros11-privacy/

Continue this thread — 7 more replies