Security through Analysis and Verification