News for hackers. Stuff that matters.
Re:Ask HN: How do you prevent code leak from current/former ... by howlgarnish on Sunday November 08, 2020 @08:02AM (#25025531)
Realistically speaking, short of airgapped networks and military-style security, you can't.

It's also much less of a problem than you'd think, since if somebody does walk away with valuable IP and tries to make money with it, they can be sued to oblivion. Employers are also well aware of this, which is why few competitors would want to touch it. See eg. Lewandowski in the Uber v Google case.

Re:Ask HN: How do you prevent code leak from current/former ... by gameswithgo on Sunday November 08, 2020 @08:41AM (#25025736)
It is also pretty rare for some code to be that valuable. It would be about as much work for to figure out hot to leverage stolen code for profit as to just write your own. Data getting stolen on the other hand is much worse.
Re:Ask HN: How do you prevent code leak from current/former ... by jimlikeslimes on Sunday November 08, 2020 @09:02AM (#25025872)
Agree with this thread, if you see code as data, there's probably plenty of other data in any organisation that needs higher levels of protection

Would you need to notify the ICO (UK) of a data breach if your code was leaked online?

Re:Ask HN: How do you prevent code leak from current/former ... by realusername on Sunday November 08, 2020 @08:43AM (#25025751)
Yes that's also my thoughts, I have all the code of my current employer on my laptop, what would you do with that code if you got your hands into it? Nothing really, there's not a single use case I can think of which could be useful to somebody.
Re:Ask HN: How do you prevent code leak from current/former ... by YetAnotherMatt on Sunday November 08, 2020 @09:00AM (#25025854)
It may make finding security vulnerabilities a bit easier.

Other than that I can't really think of use cases either for the code bases I've worked on.

Re:Ask HN: How do you prevent code leak from current/former ... by realusername on Sunday November 08, 2020 @09:20AM (#25025953)
> It may make finding security vulnerabilities a bit easier.

Yes that's about it really, there's so much custom code related to our business that even if you are a direct competitor you are not going to get anything out of it.

Re:Ask HN: How do you prevent code leak from current/former ... by unishark on Sunday November 08, 2020 @10:03AM (#25026171)
When you're a giant target you need to be careful, but you often don't need to steal either. Meanwhile, in my experience there are amoral and desperate small businesses on every streetcorner stealing anything they can get their hands on. The alternative is often to not make any money becasuse they lack the skills. When you look internationally, the tech industry consists of a finite number of skilled and capable people and organizations, plus a vast ocean of people in over their heads.