La protezione di RabbitMQ coinvolge autenticazione, autorizzazione (permessi, vhost), crittografia (TLS), e sicurezza di rete — proteggendo il broker e i messaggi che gestisce. Comprendere la sicurezza di RabbitMQ è importante per i deployment in produzione.
Autenticazione e autorizzazione
✓ 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
