News for hackers. Stuff that matters.
Re:Platform Tilt by shadowgovt on Friday January 19, 2024 @09:01PM (#39063921)
> Browsing information like history, bookmarked sites, and cookies isn’t accessible to third-party browsers on Android.

As a user, why the hell do I want third party applications to be able to access my browser's history, bookmarked sites, and cookies?

That's an obvious privacy leak!

Firefox can have that data when it's generated by Firefox while I'm using Firefox and not in other contexts.

Re:Platform Tilt by crummy on Friday January 19, 2024 @09:21PM (#39064026)
As a user who wants to easily migrate to a new browser, I would like the new browser to have access to the old browsers bookmarks etc to make the process easier.
Re:Platform Tilt by zimpenfish on Saturday January 20, 2024 @05:46AM (#39066286)
You'd implement that as an export from the old browser though - that way it's an explicit "yes, please" from the user allowing the new browser access rather than allowing holes that nefarious people will exploit.
Re:Platform Tilt by Vinnl on Saturday January 20, 2024 @06:10AM (#39066441)
Yes, and an export from the old browser would count as "making it accessible to other browsers".

But that's not possible, hence it being listed among the issues.

Re:Platform Tilt by no-dr-onboard on Friday January 19, 2024 @09:19PM (#39064019)
This is mostly for importing to/from other browsers. It’s a very common operation for onboarding.
Re:Platform Tilt by jwells89 on Friday January 19, 2024 @09:22PM (#39064032)
One way to accomplish this that doesn’t make it easy for unscrupulous apps to suck up browser data is for the OS or stock browser to be able to export an archive of user data that Firefox (or other browsers) could then import. Adds a bit of friction but much more difficult to abuse.
Re:Platform Tilt by deno on Saturday January 20, 2024 @05:53AM (#39066343)
There are two problems with that: 1) Mobile users don’t know how to use files 2) Where do you export it? If you put it in one of the shared folders now the unencrypted archive of all user’s data is just sitting in a folder that many unrelated apps can access.
Re:Platform Tilt by jwells89 on Saturday January 20, 2024 @09:36AM (#39067922)
Make a standardized file type for web data archives, which then allows other browsers (which can open it) to show up in a share sheet that shows up when the user taps an export button.

This sends the file directly to the other browser which can then do as it pleases with the data. No filesystem knowledge required, and share sheets are common mobile user knowledge.

Re:Platform Tilt by shadowgovt on Saturday January 20, 2024 @05:43PM (#39073229)
The problem is that the question of what is a "browser" is an easy question for humans to answer but doesn't line up to software.

The short story is that the permission model would have to be changed; they have to add an Android permission for sharing browsing data that apps would have to declare and users would have to opt into. And of course that increases the risk surface area; We know from past examples that malicious apps sneak through (or non-malicious apps previously signed off on end up purchased by someone else and become malicious) and users really don't understand security.

The state is extractable via Google take out and the safest solution might honestly be to not support this directly on Android and instead require Mozilla to figure out how to import a takeout archive via the cloud.

Re:Platform Tilt by deno on Sunday January 21, 2024 @04:12PM (#39083118)
This is better than nothing but in practice will be rarely used if the flow has to be initiated by user (from some deep menu and in a different app than the one they want to use).
Re:Platform Tilt by g-b-r on Friday January 19, 2024 @10:03PM (#39064252)
For history and cookies it's definitely objectable, but it's essential that the bookmarks be exportable and reimportable.

Something that Firefox on Android doesn't support, by the way :facepalm: https://github.com/mozilla-mobile/fenix/issues/417

Re:Platform Tilt by naitgacem on Friday January 19, 2024 @11:32PM (#39064697)
I think this is disingenuous. we can already import contacts and other sensitive data with no "privacy leak". they're not requiring unvetted import functionality, from the issue:

  Android is able to mediate access to other sensitive data with user consent.
Re:Platform Tilt by johanbcn on Saturday January 20, 2024 @04:05AM (#39065844)
Yeah, but that means all major browsers agreeing on a standard, and we all know how that goes.
Re:Platform Tilt by naitgacem on Sunday January 21, 2024 @01:07AM (#39076047)
Doesn't have to be all major browsers. Android itself can mediate this. we already have that for other types of data. apps can request to read SMS or your contacts, these are called `ContentProvider`s.
Re:Platform Tilt by charcircuit on Friday January 19, 2024 @09:11PM (#39063977)
I agree. The justification "but desktop operating systems let us do it" means nothing to me because desktop operating systems are known for having bad security. It only works on those systems because there is no security for programs reading each other's data.
Re:Platform Tilt by Qwertious on Saturday January 20, 2024 @12:46AM (#39065062)
>As a user, why the hell do I want third party applications to be able to access my browser's history, bookmarked sites, and cookies?

>That's an obvious privacy leak!

No it's not. It's only a leak if they access that data without your permission. There's nothing wrong with them being able to request that data, with you-the-user being able to respond to that request "fuck no".

Re:Platform Tilt by pmontra on Saturday January 20, 2024 @02:46AM (#39065523)
Better than that, add an export feature to Safari that must be activated by a user action. That would probably be in the spirit of GDPR's right to access one's own data.