concurrency and security