I want to install windows 8 on my mac using boot camp, but I'm worried that if the windows software gets a virus can it effect the mac side of my computer?
No, it won't affect the Mac because when you run Windows it takes over the whole machine. There is no connection to OS X because OS X is not running.
Ok thank you
Retrieving data ...