Windows Workflow Foundation (WF4) - Role Based Security for Workflow Services
This sample demonstrates how you can implement Role Based Security for WCF Workflow Services storing the list of allowed users in your web.config file by implementing a ServiceAuthorizationManager.