DEV Community

Discussion on: Help: Security per record - is it possible to make optimal solution ?

Collapse
 
tonymet profile image
Tony Metzidis

Sounds just like a filesystem. put the objects on disk, protect them with ACLs (eg chmod)

Collapse
 
_hs_ profile image
HS

Good point, however I need it in DB for many other things. But I could investigate on how to "mimic" this approach. Had stuff on file storage previously but searching was not so optimal and projections were hard, although it was cloud storage so no ACL was possible without having users as part of the cloud provider user system which was not an option at that point.

Collapse
 
tonymet profile image
Tony Metzidis

no reason not to use both