How can you restrict a user's read access to only specific fields in a collection in MongoDB? - Study24x7
Social learning Network
5 followers study24x7 03 Jan 2025 10:48 AM study24x7 study24x7

How can you restrict a user's read access to only specific fields in a collection in MongoDB?

A

Use role-based access control with field-level restrictions

B

Implement a custom authentication mechanism

C

Modify the collection schema

D

Encrypt specific fields in the collection

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles