Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine the following situation. I'm a Mac user, if I open a web site with some kind of malware(Platform specific). This site/malware will use my user agent to detect what system I am using. So, if I change my user agent to a Windows one, I will be more secure?

share|improve this question
What if they always send both malware platforms indiscriminately? – MonkeyZeus May 5 '14 at 20:19

If the site is only using that method to detect your operating system, you'll get a useless Windows .exe.

There are other ways to detect the OS, such as through Adobe Flash APIs, checking the list of system fonts on your system, and likely other things. So it's not foolproof.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.