In cryptography, there’s a difference between “secrets” (like passwords and encryption keys), and hiding / obscuring something (like steganography or changing your web server to run on a different port)
Comment on How are people discovering random subdomains on my server?
zeca@lemmy.ml 6 days agoIsnt security mostly achieved by heavy obscurity? A password secures because other people dont know what it is, it is obscured.
bluehambrgr@lemmy.world 6 days ago
pishadoot@sh.itjust.works 6 days ago
They’re not the same.
Hiding an unlocked treasure chest in the forest is obscurity. Sure, you might be the only one who knows it’s there at first but eventually someone might come across it.
Having a vault at a bank branch is security - everyone knows there’s a vault there, but you’ll be damned if you’re going to get into it when you’re not authorized.
Good passwords, when implemented correctly, use hashing (one way encryption) to provide security. It’s not obscured, people know you need a password to access the thing (in our example)