News for hackers. Stuff that matters.
Re:Teenager facing prison for downloading unsecured files fr... by Declanomous on Monday April 16, 2018 @07:44PM (#16854046)
It's not necessarily a problem that the older generation can only think about technology in a metaphorical sense, the problem is that the metaphors they are using are idiotic.

I think, by and large, people are constrained to thinking about things they can describe. To that extent, being able to accurately describe something is meaningful, and is therefore a linguistic issue.

Semantics are very important when you are dealing with minutiae, and the law hinges on comparisons and extremely complex semantic arguments.

To that extent, it makes sense that we argue about the metaphors.

Re:Teenager facing prison for downloading unsecured files fr... by jopsen on Monday April 16, 2018 @07:59PM (#16854150)
No OP has a point, we shouldn't talk in metaphors so much... It's not necessary.

The web is in many ways a huge collection of resources that reference each other. Some of these references are explicit in links, others in text, and some are available for programmatic access.

In fact many resources can be discovered by programmatic access, and there is no inherent reason to think this is wrong. Just because an API isn't documented doesn't make using it illegal.

For example, many URLs are actually permalinks, you can bookmark them, or send them to a friend. While most websites don't document this API, it's very common.

Lots of people configure search keywords in Firefox by injecting queries in bookmarked URLs. Few of these URL patterns are formally documented, but that doesn't make their usage illegal.

Re:Teenager facing prison for downloading unsecured files fr... by asfasgasg on Monday April 16, 2018 @08:21PM (#16854284)
> In fact many resources can be discovered by programmatic access, and there is no inherent reason to think this is wrong.

Agreed. There is no inherent or intrinsic reason to expect that any given document or any given URL ought to be restricted. However, a look at the documents could have provided some extrinsic reason to stop looking. For example, if I find a filing cabinet full of classified documents, I will not continue leafing through them after I see the first one. I will stop immediately and notify someone appropriate (after contacting my lawyer). I do not intend to access classified documents.

The question is one of intent. Did the individual intend to access documents that they knew or should have known that they ought not access. If the kid pulled down one classified document, took a look, realized what he was looking at, and deleted it and notified the authorities, then I'm with the crowd. Likewise if they pulled down the entire archive without looking at any of them. I'll be on the front lines with my pitchfork.

On the other hand, if they saw the first classified document, then pulled down the rest of the trove hunting for more, some amount of punishment is probably warranted. Even then, I would say fifteen years is too much. Maybe a few months of time and probation, depending on exactly how much willfulness was on display.

I imagine these are the kinds of questions that will be resolved during the trial.

Re:Teenager facing prison for downloading unsecured files fr... by fenomas on Tuesday April 17, 2018 @01:47AM (#16855823)
> if they saw the first classified document, then pulled down the rest of the trove hunting for more..

Per the articles: nothing was "classified", it was an archive of public documents that the government published periodically. The issue is that a small subset weren't redacted properly - but there's no apparent reason the teen would have known that.

It appears that someone simply archived a bunch of documents they reasonably believed to be public information.

Re:Teenager facing prison for downloading unsecured files fr... by asfasgasg on Tuesday April 17, 2018 @08:52PM (#16863736)
In that case, hopefully, and probably, justice will be served.
Re:Teenager facing prison for downloading unsecured files fr... by ozzmotik on Monday April 16, 2018 @10:02PM (#16854808)
ah yes the age old problem of actus reus sans mens rea
Re:Teenager facing prison for downloading unsecured files fr... by rayiner on Monday April 16, 2018 @08:10PM (#16854209)
> In fact many resources can be discovered by programmatic access, and there is no inherent reason to think this is wrong. Just because an API isn't documented doesn't make using it illegal.

The license to access private property is based on the intent of the property owner. Where the intent is made express (through a sign), that governs. Where the intent is not made express, we try to figure out what a reasonable person would infer about the property owner's intent.

The method of access, therefore, is relevant insofar as it tells you about what the owner of the web server intended people to have access to. The fact that content on a website meant for the public to access is only accessible by "programmatic" means that ordinary users would not know, is strong evidence that the owners of the web server did not intend for people to access those documents.

Re:Teenager facing prison for downloading unsecured files fr... by shkkmo on Monday April 16, 2018 @08:52PM (#16854443)
> The fact that content on a website meant for the public to access is only accessible by "programmatic" means that ordinary users would not know, is strong evidence that the owners of the web server did not intend for people to access those documents

Sorry, that is complete BS. Have you scanned the entire internet and sure sure there are no links to these files on other public pages?

Files publicly hosted by a web server (software explicitly designed and installed to make those files public) is in no shape or form private property.

Furthermore, in this specific case, there is an explicit statement saying the files are public and saying nothing about them not being accessible:

"The Access to Information website allows you to submit, pay and receive FOIPOP requests online. The Nova Scotia Government also posts responses to formal FOIPOP requests online on the Disclosure log. This is a free public repository of FOIPOP responses that have been approved for publication and have met a specific set of criteria (PDF file 800 KB)."

https://novascotia.ca/is/programs-and-services/information-a...

Re:Teenager facing prison for downloading unsecured files fr... by ljm on Monday April 16, 2018 @09:25PM (#16854632)
I can see where you're coming from but you're also describing the purpose of an API, documented or not. Ultimately, if you want to secure the boundaries of your property (whether that's your app or your domain or your honest to god physical land) it's up to you. If you find yourself in the position where other people are revealing information you or your company should have protected then you are accountable. You have to be accountable. The guy who found the problem or abused it is not accountable.
Re:Teenager facing prison for downloading unsecured files fr... by harryh on Monday April 16, 2018 @09:46PM (#16854733)
The guy who found the problem or abused it is not accountable.

This is clearly wrong.

If I forget to lock my door when leaving my house one morning it's still trespassing if you enter the house without my permission.

Re:Teenager facing prison for downloading unsecured files fr... by pdonis on Monday April 16, 2018 @11:16PM (#16855170)
> If I forget to lock my door when leaving my house one morning it's still trespassing if you enter the house without my permission.

This doesn't seem like an apt analogy for the actual case described in the article, though. That case seems more like: you left a bunch of stuff at the curb with a sign that says "free for the taking", but didn't realize that you left some stuff there that you actually didn't want taken.

Re:Teenager facing prison for downloading unsecured files fr... by ozzmotik on Monday April 16, 2018 @10:05PM (#16854826)
in this context i don't think your metaphor applies. your house isn't a freely accessible entity that has been declared as such which has certain areas of it that are off limits but never clearly defined as just that.
Re:Teenager facing prison for downloading unsecured files fr... by harryh on Monday April 16, 2018 @10:12PM (#16854872)
So what you are saying is that what matters is the intent of the property owner and the general understanding of the population about what is typically public vs private property?
Re:Teenager facing prison for downloading unsecured files fr... by ozzmotik on Monday April 16, 2018 @10:27PM (#16854939)
i would say that those things are certainly relevant, but it would be perhaps very myopic to say they are the only relevant concepts. one should also keep in mind the intent of the individual attempting to access the property, and the perception of what they're doing when they do within their mind as an expression of that intent, for instance. if i have been to led to believe that your property is public through a means that is debatably authoritative, such as a sign indicating it as such, then for all intents and purposes, anything i interact with inside of it in my mind is perfectly acceptable because it falls within the context of pre-established permissions. and if there are parts of your property that for some reason you would prefer private but they are not demarcated as such, am i really in the wrong to interact with them or go inside of them if i have no external information telling me that i should not?

in the context of the article and the problem at hand, the teenager downloaded a bunch of things that were supposed to be public access, but also accidentally downloaded some things that were confidential though not clearly marked as such (im assuming based on available information) and so the only real way he would have known they were confidential was if he actually perused the contents of them. that would be like having a room that is private property and off-limits, and it is marked as such, but the marking is inside the room and can only be seen by entering it and as such violating the private nature of said room. but really these are all just my thoughts on it and i certainly don't think i'm right or anything. it's just fun to talk ya know

Re:Teenager facing prison for downloading unsecured files fr... by harryh on Monday April 16, 2018 @10:35PM (#16854971)
I hear what you are saying about the intent of the actor, but that's tricky. What if the actor doesn't believe in private property? What if the actor accidentally misreads "private" as "public."? These things aren't really mitigating.

This is why the law tends to fall back on what a hypothetical "reasonable person" would think.

I'm not as much of a hardliner as rayiner on this particular case as I think there are some facts in favor of thinking of these documents as public:

- it was a government website

- it was specifically set up for the purpose of sharing foia requests

- the data in the documents was not easily identifiable as private

But when it comes to the general principle where some HNers seem to think "If the webserver responds with a 200 then it's perfectly fine." I have to disagree.

Imagine a different scenario in which we were talking about tax returns instead of foia requests. You're looking at yours at http://www.canadataxes.com/return?id=1234 and you realize that if you inc the ID you get the tax return of some other random Canadian citizen. In that case it would be immediately obvious that someone had made a mistake and you were accessing information you shouldn't. A "reasonable person" would understand that a mistake had been made. It would then be clearly illegal to write a script to scrape down the docs for every ID.

Re:Teenager facing prison for downloading unsecured files fr... by c22 on Tuesday April 17, 2018 @01:03AM (#16855609)
But what if someone had just moved to Canada from Norway and didn't realize that tax return information was supposed to be private? I think it's fair to put most of the responsibility on those who have implemented a system that serves private data in response to public http requests. Presumably this is the party that has both been entrusted with the private data and has the technological and legal resources to understand what can and cannot be served publicly and appropriately configure their systems to do so.
Re:Teenager facing prison for downloading unsecured files fr... by harryh on Tuesday April 17, 2018 @09:00AM (#16857825)
Those that move from one country to another are responsible for learning the laws and customs of the place they are moving to.
Re:Teenager facing prison for downloading unsecured files fr... by c22 on Tuesday April 17, 2018 @09:13AM (#16857926)
No doubt. I still would consider the implementors of said contrived-example-website to be far more liable than our hypothetical confused batch downloading Norwegian friend. Just like I don't yell at my toddler when she knocks over the glass of water I left on the floor.
Re:Teenager facing prison for downloading unsecured files fr... by harryh on Tuesday April 17, 2018 @10:05AM (#16858386)
I agree that the Canadian government has been negligent in the situation under discussion. It's not an either or situation though. Both can be guilty at once.
Re:Teenager facing prison for downloading unsecured files fr... by EamonnMR on Monday April 16, 2018 @11:17PM (#16855178)
Let's say he picked his first random URL and got someone's tax documents. A reasonable person would probably report it and quit prying. But it sounds like the bad documents where mixed in with good documents that he was downloading programmatically, so a reasonable person probably would not have the time to read every single document to determine if it contained personal information.
Re:Teenager facing prison for downloading unsecured files fr... by harryh on Monday April 16, 2018 @11:20PM (#16855191)
Yes, that's what I was getting at when I said:

"the data in the documents was not easily identifiable as private"

as a mitigating factor.

Re:Teenager facing prison for downloading unsecured files fr... by Sean1708 on Tuesday April 17, 2018 @09:31AM (#16858074)
I think that's a terrible analogy, a better (albeit not perfect) one in my opinion is:

If I request access to your house (send a HTTP request) and you grant me access (give me whatever I was requesting), I don't think I should be arrested for trespassing.

Re:Teenager facing prison for downloading unsecured files fr... by harryh on Tuesday April 17, 2018 @10:07AM (#16858402)
If I install a one of those new fancy IoT locks on my door but it has a bug and unlocks for you when it shouldn't, it's still trespassing if you enter my house.
Re:Teenager facing prison for downloading unsecured files fr... by tremon on Tuesday April 17, 2018 @08:51AM (#16857774)
Yet if you forget to lock your car doors or leave valuable items in plain sight on the back seat, the insurance company will not honor your claim.
Re:Teenager facing prison for downloading unsecured files fr... by ljm on Monday April 16, 2018 @10:07PM (#16854839)
You're right, it is. If you keep forgetting to lock your door then the situation changes.
Re:Teenager facing prison for downloading unsecured files fr... by JoeAltmaier on Monday April 16, 2018 @10:39PM (#16854989)
Its not the lock that makes it illegal. Its the act. Somebody reaches into your pocket to take your wallet, its not 'ok' because you didn't lock your pocket, is it?

We're not yet to the point where its the victim's fault when victimized by a criminal. It may seem that way when there are so many active criminals. But some places its still possible to trust your neighbors. I live in one.

Re:Teenager facing prison for downloading unsecured files fr... by harryh on Monday April 16, 2018 @10:11PM (#16854863)
That's not true at all.

I grew up in a relatively small town. Literal years went by where my parents didn't lock the back door. It would have been illegal for someone to enter the house without their permission for that entire time period.

Re:Teenager facing prison for downloading unsecured files fr... by letlambda on Monday April 16, 2018 @08:36PM (#16854362)
Isn't the assumption always that accessing a web page programmatically is allowed unless specifically asked not to in robots.txt?
Re:Teenager facing prison for downloading unsecured files fr... by ScottBurson on Tuesday April 17, 2018 @02:27AM (#16856011)
> Where the intent is not made express, we try to figure out what a reasonable person would infer about the property owner's intent.

We do. But if we fail to do so correctly, as people occasionally will, have we committed a serious crime for which we should be facing prison? Particularly in a case where societal custom is not well formed, and analogies to more familiar situations are all strained?

This young man, by his account, likes to archive stuff he finds on the Web. From the sound of it, he's done URL incrementation many times, and this is the first time he's gotten in trouble for it. Let's suppose for the sake of argument that that's true, and also that there really were no indications on this site that the information was unintentionally left accessible. Do you really want to send him to prison for that?

You might reply that as cruel as that seems, its deterrent value would make it worth doing. But I don't even want to live in a world where people without criminal intent are so succesfully deterred from experimenting with the Internet. In such a world, site owners would take even less responsibility than they do now for securing their information, and therefore actual criminals would have even more unfettered access to it.

Re:Teenager facing prison for downloading unsecured files fr... by ShroudedNight on Monday April 16, 2018 @08:55PM (#16854468)
What is significantly more programmatic about manually incrementing a document ID by 1, than viewing a website in the first place?
Re:Teenager facing prison for downloading unsecured files fr... by munk-a on Monday April 16, 2018 @08:39PM (#16854376)
Maybe we need to shift the metaphor.

A situation like this (security wise) isn't like leaving a window unlocked and having someone rob your house it's like

1. Leaving a pie on the window sill overhanging the side walk with paper plates and plastic utensils beside it.

2. A man knocking on your door, asking you for your bank account number without impersonating anyone of authority, you offering it up freely, then suing the man because you forgot to ask who he was first.

Re:Teenager facing prison for downloading unsecured files fr... by ljm on Monday April 16, 2018 @08:50PM (#16854432)
The problem is the metaphor itself. The metaphor avoids the problem by providing a more trivial or palatable debate, it takes the attention away from the teen in trouble to the definition of the problem and at that point you've stopped caring about the person, you're caring about the problem.

This guy facing prison doesn't give a shit about it feeling like a man stealing a pie from your window. It's nothing close to that because you can steal pies from windows and be held accountable in a much more reasonable way, and trying to reframe the situation only helps to an extent.

Re:Teenager facing prison for downloading unsecured files fr... by jessaustin on Monday April 16, 2018 @09:53PM (#16854755)
Reframing is a favorite tool of authoritarians. They just turn a knob and the new frame gets parroted by the media for weeks.
Re:Teenager facing prison for downloading unsecured files fr... by ljm on Monday April 16, 2018 @07:57PM (#16854133)
On reflection I think the metaphor itself is a red herring; we're always using them because they serve a great purpose. Tell an aspiring developer they can use goroutines to build a decently concurrent app, without much fuss, and they'll be delighted because the language provides a metaphor for it (way beyond a simple abstraction); tell them they have to understand mutexes, locks, processes, forks, and you've lost them.

What I see is a tendency towards the metaphor because that abstraction itself poses a challenge on top of the original one and the original problem itself is less interesting than the linguistic magic layered on top of it. You can talk at length about how bad the dog > animal OOP example is but you won't have much to say about OOP without that.

It's basically bike-shedding.