Dennis Hackethal’s Blog
My blog about philosophy, coding, and anything else that interests me.
History of post ‘Your audio devices might divulge your private information. Here’s how to protect yourself.’
Versions are sorted from most recent to oldest with the original version at the bottom. Changes are highlighted relative to the next, i.e. older, version underneath. Only changed lines and their surrounding lines are shown, except for the original version, which is truncated because this is a Pro article.
Revision 1 · · View this (the most recent) version (v2)
@@ -8,7 +8,7 @@ Apple's naming convention is '-first name-'s AirPods'. That's what they're named To be sure, not *every* website will have access to the names of your audio devices – only those websites you give permission to use your microphone. But just because you let a website use your microphone does not mean you want it to know who you are, let alone track you. Here's the proof. It only takes a single line of code for a website to list the names of all your audio devices once you've granted access to your microphone. Don't worry if you don't understand the code, just focus on the second-line that lists+and following lines where the-names:+device names are listed: ```js (await navigator.mediaDevices.enumerateDevices()).map(device => device.label)
Original · · View this version (v1)
Websites can track you based on your audio devices. Depending on the names of your devices, you may also be making yourself more easily identifiable to websites. Say your name is John Appleseed, so you name your AirPods 'John Appleseed's AirPods'. If you have given a website permission to use your microphone and you have your AirPods connected, the website now knows your full name. I noticed this while using a site earlier today. Once I had connected my AirPods, it displayed their name back to me. Apple's naming convention is '-first name-'s AirPods'. That's what they're named automatically when you first set them up. It's better than the full name, but you may not want websites to know your first name, either. If you have a common name, divulging it may not seem like an issue, but it still narrows a website's visitors down a significant amount. To be sure, not *every* website will have access to the names of your audio devices – only those websites you give permission to use your microphone. But just because you let a website use your microphone does not mean you want it to know who you are, let alone track you. Here's the proof. It only takes a single line of code for a website to list the names of all your audio devices once you've granted access to your microphone. Don't worry if you don't understand the code, just focus on the second line that lists the names:This post is a Pro article , available upon purchase. It has been truncated.