How to Strike the Right Balance Between Prioritizing Security and Increasing Efficiency