Optimizing Security for the Long Term