Against the sun, I protect your eyes and am often worn on the face of spies. What am I?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?