How to Implement an Efficient and Secure Workflow