Securing tokio applications