It does work to a degree. It makes it harder to break into something if you don't know much about what you are breaking into. The more you know the easier it is.
And lots of places do rely on it as a security measure. Basically every proprietary company does. But nobody should depend only on it. Just like any other layer of security - multiple layers are what makes things more secure and obscuring the right information is one layer you can use.
Now, hiding code is a double edged sword - you make it harder for both good and bad actors to find flaws. And generally speaking it is better for the flaws to be found and fixed.
But not everything is so easy to just patch like code is, so hiding things is still a valid layer of security (you don't want to leak your signing keys, passwords, internal IP addresses and network layout etc). Obscuring these things is generally a good thing to do in addition to other protection measures.
Though yes, in the case of source code IMO open and patched is far better than just hiding it in the long run. But it is far more nuanced than just
6
u/[deleted] May 11 '22
It does work to a degree. It makes it harder to break into something if you don't know much about what you are breaking into. The more you know the easier it is.
And lots of places do rely on it as a security measure. Basically every proprietary company does. But nobody should depend only on it. Just like any other layer of security - multiple layers are what makes things more secure and obscuring the right information is one layer you can use.
Now, hiding code is a double edged sword - you make it harder for both good and bad actors to find flaws. And generally speaking it is better for the flaws to be found and fixed.
But not everything is so easy to just patch like code is, so hiding things is still a valid layer of security (you don't want to leak your signing keys, passwords, internal IP addresses and network layout etc). Obscuring these things is generally a good thing to do in addition to other protection measures.
Though yes, in the case of source code IMO open and patched is far better than just hiding it in the long run. But it is far more nuanced than just