Gatekeeper settings

Security preference pane with Gatekeeper

Source: http://www.apple.com/macosx/mountain-lion/security.html