> Markdown version of [Security](https://vaadin.com/docs/v24/building-apps/security). Section index: [llms.txt](https://vaadin.com/docs/v24/building-apps/llms.txt)

# Security

- [Add Login](https://vaadin.com/docs/v24/building-apps/security/add-login.md): Learn how to add user login to a Vaadin application using Spring Security.
- [Add Logout](https://vaadin.com/docs/v24/building-apps/security/add-logout.md): Learn how to securely logout users from a Vaadin application using Spring Security.
- [Protect Views](https://vaadin.com/docs/v24/building-apps/security/protect-views.md): Learn how to protect views in a Vaadin application based on user roles.
- [Protect Services](https://vaadin.com/docs/v24/building-apps/security/protect-services.md): Learn how to protect services in a Vaadin application based on user roles.
