|
|
|
|
|
by nomercy400
442 days ago
|
|
I am kind of missing how the 'pure' query problem is solved. Say I have 10000 rows, and my authorization gives access to 3 of those rows. With security in the database, you return 3 rows. From what I can read, the protect pattern returns 10000 rows from the database, but discard 9997 of them afterwards. Doesn't this increase load and memory usage? Shouldn't there be a balance? |
|
Isn't every contemporary authorization system shifting towards ReBAC (based on Google's Zanzibar paper)? The ReBAC paradigm favors the segregation of authorization logic from business logic. It'd even be possible to reimplement ABAC/RBAC-styles if you prefer to do so, but your application layer shouldn't need to care.
How is protecting individual queries (after retrieval!) more scalable?