Elasticsearch & Lucene (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Security and RBAC: TLS encryption, Document-Level Security (DLS), and Field-Level Security (FLS).
senior LevelSecurity & Auth
In Simple Words: Enterprise security enforcement inside the Elasticsearch engine:
- Transport TLS (Port 9300) & HTTP TLS (Port 9200).
- Document-Level Security (DLS): Evaluates a query template against the user's role. A sales rep with role
region_emeacan only view documents matching"region": "EMEA". - Field-Level Security (FLS): Masks sensitive fields. Engineers can query the
usersindex, butssnandcredit_card_hashfields are omitted from results.