Proteger o RabbitMQ envolve autenticação, autorização (permissões, vhosts), criptografia (TLS) e segurança de rede — protegendo o broker e as mensagens que ele processa. Entender a segurança do RabbitMQ é importante para deployments em produção.
Autenticação e autorização
✓ AUTHENTICATION → require credentials (users/passwords); don't use the default guest
account in production (it's restricted to localhost by default — and should be removed/changed)
✓ AUTHORIZATION → grant users PERMISSIONS (configure/write/read) per VHOST → least privilege
(users access only what they need)
✓ VHOSTS → isolate applications/tenants; scope permissions per vhost
✓ Consider external auth (LDAP, OAuth) for enterprise
