News for hackers. Stuff that matters.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by stingraycharles on Tuesday August 07, 2018 @11:29AM (#17707490)
As a background, the problematic part of Facebook’s policy is that, while end-users are the owner of all content they produce, they [Facebook] essentially consider all their HTML their copyright. They have argued in court (and won [1]) that scraping essentially requires creating an in-memory copy of this HTML before the user-produced content can be extracted, and thus is a violation of their copyright.

It’s a very unfortunate precedent in my opinion, that limits pretty much all forms of scraping. Copyright law should not be abused for this, but yet here we are.

If the Knight’s institute manages to get Facebook to amend their policy that is a great step in the right direction, but I feel that copyright should not be abused to restrict scraping like this: the copyrightable content is not what is being scraped at all, it is immediately thrown away after the user-produced content is extracted.

This means there is no way for a user to even legally get their own content extracted from Facebook this way, and on top of that, web browser make in-memory copies of Facebook’s HTML all the time; heck, they even specifically instruct browsers and proxies to cache a lot of their content.

[1] http://www.knowmad.law/single-post/scraping

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by drb91 on Tuesday August 07, 2018 @03:56PM (#17710059)
> that scraping essentially requires creating an in-memory copy of this HTML before the user-produced content can be extracted, and thus is a violation of their copyright.

Isn't copyright a bound on distribution? How would this work unless the HTML itself was distributed by the scraper? If you use SAX processing to stream it, does that change interpretation? (Not sure about how to interpret the in-memory copy.)

If they violate my copyright, can I sue them for royalties every time they rendered the image they never got a license for and distributed it to someone? I'd imagine their TOS/EULA precludes this by just equating uploading to refusing my license, but how enforceable is that? It neatly bypasses any consumer protections.

If facebook is acting this way, maybe I've been wrong all this time--maybe I shouldn't be paying for their service to avoid ads, maybe they should be paying me for the license to my content AND not showing ads.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by jim-greer on Tuesday August 07, 2018 @04:36PM (#17710514)
> Isn't copyright a bound on distribution?

No, it covers any reproduction in a tangible medium, whether or not you distribute.

I believe a court has ruled that RAM copies count. I'm not finding the case now though.

I think the journalists would have a strong Fair Use argument...

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by bobbles on Tuesday August 07, 2018 @08:50PM (#17712288)
You may be thinking of when Blizzard used this argument for going after Bot creators in World of Warcraft: https://arstechnica.com/gaming/2008/05/blizzard-attempt-to-k...
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by drb91 on Tuesday August 07, 2018 @05:00PM (#17710756)
> No, it covers any reproduction in a tangible medium, whether or not you distribute.

What's the justification of this? How does this afford protection to the copyright owner if you don't distribute? Is it purely to protect against derivative works bypassing copyright?

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Kalium on Tuesday August 07, 2018 @06:05PM (#17711294)
Copyright is more or less what it says in the name - the right to legally control the making of copies. The ability to divide making a copy from distributing it is, to my understanding, mostly not relevant to copyright law. Distributing requires making copies, and copying involves distribution of sorts.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by drb91 on Tuesday August 07, 2018 @06:16PM (#17711373)
Ugh, it seems broken and not actually protecting rights, but rather forcing terms of service to apply in lawsuits.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Kalium on Tuesday August 07, 2018 @06:19PM (#17711390)
I mean, we're talking about a system that was originally designed to apply to literal books printed with literal printing presses. It's going to be messy at best in this age.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by amelius on Tuesday August 07, 2018 @11:54AM (#17707744)
This is a bit like selling pens, after copyrighting the chemical composition of the ink, and then insisting that anything an author writes with the pen belongs to the company.

How can this kind of reasoning survive a sane court of law?

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by code_duck on Tuesday August 07, 2018 @04:11PM (#17710253)
I’m thinking of it like Facebook is a book (well, a journal that’s a compendium of everyone else’s writing). You’re only allowed to read from it while Facebook holds the book and turns the pages for you. If you pick up the book and turn the page yourself, you’ve taken possession of the book, which is theft since they didn’t give you permission.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by bo1024 on Tuesday August 07, 2018 @08:10PM (#17712103)
I think that's absolutely how Facebook wants it to work (as well as many other website operators), but absolutely opposite of how the process physically works. Also, I wouldn't equate copyright violation (especially non-commercial) and theft.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by code_duck on Thursday August 09, 2018 @11:18AM (#17724894)
What I mean is that is how Facebook wants it to work.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by crankylinuxuser on Tuesday August 07, 2018 @12:03PM (#17707822)
It has nothing to do with sanity.

With rare exception, law in the US is "More Fair" the more money you have. So yes, reading the body of law from that perspective should provide significant clarity as to why the ruling was done that way.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by mkirklions on Tuesday August 07, 2018 @12:45PM (#17708239)
>law in the US is "More Fair" the more money you have.

I've read enough history to know this isnt exclusive to the US, but rather the same in every country in human history.

Only religion, politics, and birth-right seem to have any pull similar to money.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by anoplus on Tuesday August 07, 2018 @01:30PM (#17708659)
In school I learned that my country is a democracy, but I grew up to learn it is practically a plutocracy. I count on crowd funding platforms to help the majorities confront the titans. I witness this battle all the time
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by seandougall on Tuesday August 07, 2018 @07:38PM (#17711920)
Agreed. Also, those are all categories that notably correlate strongly with money.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by whatupmd on Tuesday August 07, 2018 @03:40PM (#17709890)
https://en.wikipedia.org/wiki/Facebook,_Inc._v._Power_Ventur....

"Judge Fogel’s reasoned that MAI Systems Corp. v. Peak Computer, Inc. and Ticketmaster LLC v. RMG Techs. Inc. indicated that the scraping of a webpage inherently involves the copying of that webpage into a computer’s memory in order to extract the underlying information contained therein. Even though this "copying" is ephemeral and momentary, that it is enough to constitute a "copy" under § 106 of the Copyright Act and therefore infringement.[9] Since Facebook’s Terms of Service prohibit scraping (and thus, Facebook has not given any license to third parties or users to do so), the copying happens without permission."

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by code_duck on Tuesday August 07, 2018 @04:09PM (#17710227)
Seems like an overwrought technicality that also ignores fair use. Isn’t the problem with violating copyright distribution, anyway?
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by laumars on Tuesday August 07, 2018 @12:20PM (#17707978)
I wonder if we can abuse copyright in a similar way to protect our privacy. Eg have our address contain a verse from a poem we've written thus anyone sharing our against our express permission is in violation of distributing our copyrighted content.

Unfortunately the real problem isn't so much the concept but rather the cost of hiring lawyers skilled enough to take on multi-million dollar companies.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Rjevski on Tuesday August 07, 2018 @01:37PM (#17708727)
An email address can be quite long, enough to pass off as a poem or other form of art which can be copyrighted.

Apple is doing the same with an encryption key embedded in Mac’s SMC chips. The key is something like “our hard work by these words guarded, please do not steal (c) Apple Computer Inc” and is used to decrypt system binaries.

While providing no actual security I guess it gives them a leg to stand on should anyone recreate a machine capable of running MacOS (the OS would not start without this key being in the hardware).

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by avree on Tuesday August 07, 2018 @03:19PM (#17709695)
Several machines are capable of running macOS. http://www.osx86project.org is a project focused on doing exactly this. However, these machines do not use SMC chips. They emulate the SMC.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by dmitrygr on Tuesday August 07, 2018 @03:36PM (#17709844)
By including the copyrighted phrase in the emulating kext, and thus violating copyright law. Yes.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Fnoord on Tuesday August 07, 2018 @04:02PM (#17710144)
That phrase is not copyright infringement. Apple lost that case in a court of law.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Rjevski on Wednesday August 08, 2018 @06:09AM (#17714524)
Link to the case? if this hack actually doesn't work as far as law is concerned then I'm surprised it's still there.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Fnoord on Wednesday August 08, 2018 @07:18AM (#17714888)
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by dmitrygr on Wednesday August 08, 2018 @12:41PM (#17717321)
This is not a relevant case at all. OSK0 and OSK1 keys were never a secret. But they are a literary work more or less so still copyrightable.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by Fnoord on Wednesday August 08, 2018 @12:48PM (#17717382)
Apple argued it is a trade secret; the judge disagreed with them on that one.

So this poem here:

Your karma check for today: There once was was a user that whined his existing OS was so blind, he'd do better to pirate an OS that ran great but found his hardware declined. Please don't steal Mac OS! Really, that's way uncool. (C) Apple Computer, Inc.

Is not a trade secret.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by pferde on Tuesday August 07, 2018 @04:45PM (#17710626)
Perhaps they need to use a phrase that rhymes (see discussion about using poems elsewhere in this thread).
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by spacehome on Wednesday August 08, 2018 @01:31AM (#17713424)
Some poems rhyme; some don't. It's a weird distinction to make, technically speaking, and not one I'm sure I'd hang my hat on.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by dirkgently on Tuesday August 07, 2018 @09:39PM (#17712534)
They could have used "all your rounded corners are belong to us". They had better outcome with courts with that argument.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by saagarjha on Wednesday August 08, 2018 @01:12AM (#17713346)
It's actually "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"-a 512 bit AES key.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by fjsolwmv on Tuesday August 07, 2018 @01:36PM (#17708714)
The EU proposed granting copyright protection to individuals for their content, and HN was in an uproar about it because it would interfere with individuals' ability to copy other people's work freely.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by laumars on Tuesday August 07, 2018 @03:34PM (#17709824)
Rather than user submitted content I was thinking more along the lines of copywriting your contact details and other personal details that companies like to harvest and/or sell to anyone willing to pay.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by sk1pper on Tuesday August 07, 2018 @04:48PM (#17710654)
> scraping essentially requires creating an in-memory copy of this HTML

Just navigating to Facebook requires creating an in-memory copy of the HTML...

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by JadeNB on Tuesday August 07, 2018 @05:40PM (#17711098)
Per stingraycharles (https://news.ycombinator.com/item?id=17709612 )'s comment, the problem is not so much the in-memory copy as the modification of that copy (although, of course, Javascript also modifies the in-memory copy of HTML … all these technical technicalities get in the way of the legal technicalities that Facebook wants to interpret as "we get to do what we want, and you don't get to do what we don't want").
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by rsingel on Tuesday August 07, 2018 @07:49PM (#17711985)
This is not true at all.

First of all, the HiQ case was against LinkedIn.

Second of all, the ruling held that LinkedIn COULD NOT bar HiQ from scraping the public content.

LinkedIn appealed the ruling to the 9th Circuit, which heard the case this spring but has not ruled.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by _jal on Tuesday August 07, 2018 @11:39AM (#17707595)
> They have argued in court (and won)

Do you have a reference for the case you're thinking of? Missed this one and really want to read it.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by amelius on Tuesday August 07, 2018 @11:57AM (#17707767)
> heck, they even specifically instruct browsers and proxies to cache a lot of their content.

Solution: implement the scraper as a proxy that forwards the HTML, but also saves the user-authored content.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by jlarocco on Tuesday August 07, 2018 @08:04PM (#17712079)
Sorry to pick on you, but this kind of "solution" is childish and misses the point. The problem is with the law, and the solution is to make the law better. Breaking the law in new ways will only end up wasting more time in court.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by paulie_a on Tuesday August 07, 2018 @01:08PM (#17708439)
I always find antiscraping solutions cute. They are trivial to beat.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by 3pt14159 on Tuesday August 07, 2018 @11:40AM (#17707605)
That would never hold up in Canadian court. Any sane court, really.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by pweissbrod on Tuesday August 07, 2018 @01:15PM (#17708508)
If your statement is correct then a workaround would be to perform scraping in a non-covered country such as CA and, once extracted, proprietary barriers are thus removed returning ownership to the individual.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by mkirklions on Tuesday August 07, 2018 @12:46PM (#17708247)
Seeing facebook run ads constantly makes me think they'd find a way to turn you against the courts, and turn the courts against you.

Money can do lots of PR and marketing work.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by JangoSteve on Tuesday August 07, 2018 @02:49PM (#17709416)
Would extracting the data via a browser extension be in violation? It doesn't require making an in-memory copy of the HTML, since it's just navigating the HTML structure that has already been rendered by your browser, in the same way that your eyes (or a screen reader) must do to read the page.
Re:Facebook Wanted Gizmodo to Kill Investigative Tool by stingraycharles on Tuesday August 07, 2018 @03:10PM (#17709612)
Apparently the way it is presented is that, because scraping per definition alters the content of the copy (i.e. it extracts parts of it), it is therefor a modification of the original works. This is mostly the problematic part.

I have thought about just using the DOM, and/or using Chrome itself as an intermediary using its dev toolkit but I think that from a legal perspective, this is all just a modification of the original works as well.

IANAL, of course.

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by JangoSteve on Tuesday August 07, 2018 @03:31PM (#17709797)
I'm pretty sure that's not the way it was presented at all. Modifying original works is actually an allowance of copyright, not a restriction. It's called Fair Use, which states that "transformative" uses of copyrighted material, or "those that add something new, with a further purpose or different character, and do not substitute for the original use of the work," are "more likely to be considered fair." [1]

Extracting the user's data out of the page is what's _allowed_; since that is the part of the page that Facebook does not actually hold a copyright claim to, I'm pretty sure you could make the claim that extracting the user's own data out of the page into a structured format for the user's own use is transformative.

The part that wasn't allowed was literally making an ephemeral in-memory copy of the page as-is, which included Facebook's copyrighted HTML.

(I am also not a lawyer)

[1] https://www.copyright.gov/fair-use/more-info.html

Re:Facebook Wanted Gizmodo to Kill Investigative Tool by xfer on Tuesday August 07, 2018 @03:21PM (#17709704)
Maybe this would work when facebook shipped its own browser, as it stands you can patch firefox/chromium to extract the data, you are not making any more copies than the browser would have unpatched.