Spectators took off their coats, bags, and other belongings which were then put through an x-ray machine. Then each spectator had to go through the metal detector gates. If they made the detector "buzz", then they were given the once-over with the special "wand" and a pat-down. The spectator in red on the left has a big smile, as though she is enjoying the pat-down!
Each spectator ticket had a bar code, and the bar codes were recorded by the "doorkeepers" at each entrance to the spectator area. This helped cut down on a problem that arose in past Olympic events---counterfeit tickets