News for hackers. Stuff that matters.
Re:LinkedIn sued over allegation it secretly reads Apple use... by cassalian on Saturday July 11, 2020 @06:28AM (#23800994)
People seem pretty upset about their clipboards, I wonder if apple/google will listen and make the reading of your clipboard something that you must get explicit user permission for (similar to your camera). IMO this is how almost every possibly permission should be and I think most users would agree with me that having 2 seconds of inconvenience when you first setup the app is worth the peace of mind gained.
Re:LinkedIn sued over allegation it secretly reads Apple use... by gentleman11 on Saturday July 11, 2020 @09:43AM (#23802150)
It should just work the way that every user assumes it works: apps can’t read it at all, but the user can explicitly paste from it
Re:LinkedIn sued over allegation it secretly reads Apple use... by willis936 on Saturday July 11, 2020 @10:03AM (#23802284)
Right? On what planet should an app be allowed to read or write to the clipboard? The only piece of software that should access the clipboard is the keyboard, and even that I have trouble trusting with all of these predictive services. I’d like to feel more confident that my most used device isn’t loaded up with keyloggers.
Re:LinkedIn sued over allegation it secretly reads Apple use... by Denvercoder9 on Saturday July 11, 2020 @11:26AM (#23802837)
On Android, one of the suggestions when you focus the address bar in Chrome is the URL currently on your clipboard. That's tremendously useful. (It helps that pasting isn't especially ergonomic on Android.)
Re:LinkedIn sued over allegation it secretly reads Apple use... by cannedslime on Saturday July 11, 2020 @11:31AM (#23802893)
To be honest I hate that they have gimped the address bar on android chrome. Its just one more button press if i need to edit the url, and i think its creepy that they read the clipboard to be frank.
Re:LinkedIn sued over allegation it secretly reads Apple use... by Denvercoder9 on Saturday July 11, 2020 @11:33AM (#23802912)
I replace the address more often than I edit it, so personally I like it. But yes, reception has certainly been mixed.
Re:LinkedIn sued over allegation it secretly reads Apple use... by RobLach on Saturday July 11, 2020 @12:33PM (#23803385)
"paste and go"
Re:LinkedIn sued over allegation it secretly reads Apple use... by deleuze on Saturday July 11, 2020 @11:11AM (#23802738)
Write to clipboard makes sense for "click to copy" functionality. It's a small ergonomic improvement but doesn't seem like the same security risk as reading from the clipboard.
Re:LinkedIn sued over allegation it secretly reads Apple use... by filleduchaos on Saturday July 11, 2020 @12:31PM (#23803367)
> On what planet should an app be allowed to read or write to the clipboard?

This will be news to pretty much every clipboard implementation that exists, considering that they all rely on programmatic access.

Copying and pasting aren't magic opaque syscalls, they're things that programs implement (or rely on a common library to implement).

Re:LinkedIn sued over allegation it secretly reads Apple use... by willis936 on Saturday July 11, 2020 @07:03PM (#23806947)
Well that should have been fixed years ago, but I would be happy if it was fixed in a way that broke legacy.
Re:LinkedIn sued over allegation it secretly reads Apple use... by neurostimulant on Saturday July 11, 2020 @04:00PM (#23805378)
Many password managers would erase your clipboard content after you pasted your copied password once. Clipboard managers that retain history of your copied text are also useful, though I don't personally use them. Those are the only acceptable use of unrestricted read/write clipboard access in my opinion.
Re:LinkedIn sued over allegation it secretly reads Apple use... by gruez on Saturday July 11, 2020 @10:05AM (#23802296)
How can this be implemented? You can go with the javascript approach of "you can only read the clipboard contents during an user interaction", but there's nothing preventing the app from reading the clipboard every time you touch the the screen. A lot of sites use a similar exploit to bypass popup blockers. You could make so the user must accept an OS modal before the clipboard contents are released. It's more secure, but it's jarring and slows down the user.
Re:LinkedIn sued over allegation it secretly reads Apple use... by stanmancan on Saturday July 11, 2020 @10:37AM (#23802502)
There should be no “reading the clipboard” at all. A “paste” should result in the OS providing the contents to the app, not signalling the app to read the clipboard.
Re:LinkedIn sued over allegation it secretly reads Apple use... by gruez on Saturday July 11, 2020 @11:19AM (#23802790)
Your solution of "only let the OS initiate pasting" only really works when dealing with os provided text editing widgets. What if an app wants to implement a paste button/gesture? eg. paste and go to url that chrome/safari has, or terminal emulators that paste on control-shift-v rather than control-v, or photo editors that don't really have a text box to "paste" to begin with.
Re:LinkedIn sued over allegation it secretly reads Apple use... by pavel_lishin on Saturday July 11, 2020 @11:23AM (#23802816)
Yes, these are hard problems, but I would prefer that they either be solved - or go without some features - rather than let every app be able to read the contents of my clipboard.
Re:LinkedIn sued over allegation it secretly reads Apple use... by kshacker on Saturday July 11, 2020 @11:40AM (#23802968)
Hard problems sometimes (but not always) have simple solutions.

Putting apps copying clipboard up in your face is one such solution and it seems to be highlighting the abusers, no?

Even if an app has a genuine need to copy clipboard, having it in front of user every time will be useful.

Re:LinkedIn sued over allegation it secretly reads Apple use... by stanmancan on Monday July 13, 2020 @10:09AM (#23820941)
I know those are probably just a few examples of many but:

Paste and go isn’t a feature worth sacrificing the privacy of your clipboard contents

Terminal emulators, not sure to be honest. Why not stick to traditional cut and paste shortcuts?

Photo editors: nobody said you need a text box to paste to. Set your UI element as “pasteable” or whatever’s needed and let the app handle whatever clipboard contents comes it’s way. If it’s not supported it gets ignored.

Re:LinkedIn sued over allegation it secretly reads Apple use... by chrisshroba on Saturday July 11, 2020 @10:23AM (#23802405)
I don't think it's jarring to use an OS modal, if that modal is the one that almost every app already uses: [1].

Perhaps this could be the default way of interacting with the clipboard, and then apps that want to be able to read it a different way (e.g. Google Chrome wanting to be able to offer you a "Go To Link You Copied" button) could request an additional permission.

[1]: https://cdn4syt-solveyourtech.netdna-ssl.com/wp-content/uplo...

Re:LinkedIn sued over allegation it secretly reads Apple use... by gruez on Saturday July 11, 2020 @11:06AM (#23802695)
That's not a modal, that's just a standard widget. I'm not sure how they're implemented in iOS, but they can be subject to clickjacking attacks.
Re:LinkedIn sued over allegation it secretly reads Apple use... by _visgean on Saturday July 11, 2020 @10:31AM (#23802465)
The clipboard should be on the level of virtual keyboard. The app should not see whats in the clipboard before pasting. Don't see much of an issue with implementation.
Re:LinkedIn sued over allegation it secretly reads Apple use... by gruez on Saturday July 11, 2020 @11:14AM (#23802750)
How would that work with non-text applications? eg. a photo editor. Would the application need to bring up the keyboard just so the user can paste? Screen real estate is also an issue. Mobile keyboards are cramped as it is, adding a paste button would either require it being buried behind another layer, or take up more screen real estate.
Re:LinkedIn sued over allegation it secretly reads Apple use... by _visgean on Saturday July 11, 2020 @02:36PM (#23804524)
It sounds like a problem of UI, i think it can be solved, you could hold some button to paste...
Re:LinkedIn sued over allegation it secretly reads Apple use... by pjmlp on Saturday July 11, 2020 @05:52PM (#23806417)
And in what format should the image be copied into the clipboard?
Re:LinkedIn sued over allegation it secretly reads Apple use... by gentleman11 on Saturday July 11, 2020 @05:45PM (#23806345)
Have the browser (or OS) implement a clipboard. To paste, the middle-man software (either the OS or the browser) just inserts characters one after the other from this clipboard. Similarly, to insert text into it, make a request to this middle-man software. Not kernel level of course, but built in. If its windows, call it "clippy" and bring back that paperclip character.
Re:LinkedIn sued over allegation it secretly reads Apple use... by BillinghamJ on Saturday July 11, 2020 @03:40PM (#23805199)
I think the problem is that - currently - the rendering and behaviour of the edit menu (which contains cut/copy/paste) is done within the app's runtime etc.

So there's no difference between an app directly retrieving data from the pasteboard and you hitting the paste button. The message about the app retrieving from the pasteboard still appears if you hit the paste button.

It would likely need to be moved out to an IPC call to make this possible.

Re:LinkedIn sued over allegation it secretly reads Apple use... by newsbinator on Saturday July 11, 2020 @08:29AM (#23801692)
I'd even accept a step during OS initialization, when it could ask something like: "how much do you care about various apps being able to read your clipboard?"

1. I care a lot: I want to be asked every single time whether I approve of my clipboard getting read.

2. I care a moderate amount: ask me the first time an app tries it, then stop asking me for a while.

3. I don't care: let apps do whatever they want. I'll let other people worry about my security.

(albeit phrased more diplomatically, of course)

Re:LinkedIn sued over allegation it secretly reads Apple use... by captn3m0 on Saturday July 11, 2020 @12:08PM (#23803182)
That’s what UAC tried. Didn’t work that well in practice.
Re:LinkedIn sued over allegation it secretly reads Apple use... by amiga_500 on Saturday July 11, 2020 @11:29AM (#23802870)
It's not just passwords.

Imagine if you were writing an email to a close friend, about looking for a new job because you think your boss is incompetent. You copy and paste it for some reason (reformatting, whatever).

You do not want that to be seen by a job network site that has you connected to your boss.

Re:LinkedIn sued over allegation it secretly reads Apple use... by HeadsUpHigh on Saturday July 11, 2020 @02:55PM (#23804712)
How about not letting them read the clipboard at all. They don't need it.
Re:LinkedIn sued over allegation it secretly reads Apple use... by LoSboccacc on Saturday July 11, 2020 @06:38AM (#23801047)
it should be split into "local clipboard" and "global clipboard" so that you still have copy paste within the program but paste outside the program require privilege

there's plenty Android sketch/mind mapping apps for example that require access to storage, for saving and exchanging media, and the is doesn't allow for "allow access to some folder without giving them access to everything" and it's annoying

most permissions actually should have that kind of don't allow global access without breaking the app functionality or even telling the app itself

Re:LinkedIn sued over allegation it secretly reads Apple use... by smichel17 on Saturday July 11, 2020 @07:41AM (#23801340)
There's no problem if I manually copy some text from a box in one app and paste it into another app, and I don't want a permission prompt for that. It's programmatic access that I care about (apps snooping clipboard content).

Technically they could probably be implemented the same way and the "manual" action is actually just granting the programmatic permission to the keyboard app.

Re:LinkedIn sued over allegation it secretly reads Apple use... by behringer on Saturday July 11, 2020 @09:45AM (#23802166)
The copy and paste button in all apps is programmatic. Windows can't tell the difference, for example, if a user copied from edit > copy or if the website did it itself.

It could work if windows had a copy paste api with levels of access and trusted the apps to honor the access level. Then the browser could tell windows if a user clicked paste or if a website did.

Re:LinkedIn sued over allegation it secretly reads Apple use... by newjersey on Saturday July 11, 2020 @10:25AM (#23802423)
Windows on the desktop is a completely different can of worms. For example, I installed a small application last week to take screenshots of my entire screen every so many seconds and it was then that I realized the whole installation process (there is no installation process, just a simple executable with a config file in the same directory) and execution required zero root privilege.

Technically, any application (at least any application that lives in the system tray) can take screenshots of the whole screen as often as it likes. You can probably imagine it doesn't even need to store it on disk. It could just do some quick computation and send it to whoever.

Re:LinkedIn sued over allegation it secretly reads Apple use... by willis936 on Saturday July 11, 2020 @10:24AM (#23802412)
I argue that the clipboard shouldn’t be given any extra levels of trust because it’s current level of trust, very low, is the correct amount.
Re:LinkedIn sued over allegation it secretly reads Apple use... by filleduchaos on Saturday July 11, 2020 @12:34PM (#23803391)
Precisely! It's the rough equivalent of a tempfile in your home directory, I don't know why even developers have come to view it like it's some super secure and private kernel component.
Re:LinkedIn sued over allegation it secretly reads Apple use... by behringer on Saturday July 11, 2020 @07:31PM (#23807151)
That's all well and good, unless you're an attorney, author, document writer, research scientist, or literally anybody who types a lot...

At jobs I've literally copy PHI all over the place for data processing.

Copy and paste is vital and often top secret.

Re:LinkedIn sued over allegation it secretly reads Apple use... by willis936 on Saturday July 11, 2020 @08:33PM (#23807531)
It’s a bad shaped tool for that problem. It’s a shared resource. There is a gaping hazard where any other piece of software can change the data you want to read before you can read it. Use a database.
Re:LinkedIn sued over allegation it secretly reads Apple use... by smichel17 on Monday July 13, 2020 @12:21PM (#23822477)
What other tool provides same order of magnitude convenience for moving data verbatim between contexts? "Share" on mobile covers some use cases, but even then, you can't open a discrete password manager app and share your password directly to the password field in your browser.
Re:LinkedIn sued over allegation it secretly reads Apple use... by behringer on Saturday July 11, 2020 @09:17PM (#23807780)
If it were that simple there wouldn't be employees.
Re:LinkedIn sued over allegation it secretly reads Apple use... by willis936 on Sunday July 12, 2020 @07:44AM (#23810621)
I don’t mean look up a database. I mean make a database. Write a program that skims the document, parses what’s needed, and places it into a locally running database. Then, in another program, read the values you need. The clipboard is simply the wrong tool here. A database is bog standard.
Re:LinkedIn sued over allegation it secretly reads Apple use... by behringer on Sunday July 12, 2020 @06:25PM (#23815280)
How do you write documents?
Re:LinkedIn sued over allegation it secretly reads Apple use... by fencepost on Saturday July 11, 2020 @10:15AM (#23802359)
This. There are plenty of situations where I'd be happy with allowing an app to store its own internal data and maybe export local backups but I don't want to give permission to enumerate and read everything on the file system. Heck, I'm using Bouncer to remove permissions after I move away from apps. I fail to understand why more granular permissions haven't been a priority.
Re:LinkedIn sued over allegation it secretly reads Apple use... by bluedino on Saturday July 11, 2020 @07:28AM (#23801281)
BlackBerry Work (for iOS and Android) can work with solely the clipboard inside the app