How do large sites accomplish row-level permissions?

Posted by JayD3e on Stack Overflow See other posts from Stack Overflow or by JayD3e
Published on 2011-01-10T21:52:11Z Indexed on 2011/01/10 21:53 UTC
Read the original article Hit count: 192

Filed under:
|
|

So I am making a small site using cakephp, and my ACL is set up so that every time a piece of content is created, an ACL rule is created to link the owner of the piece of content to the actual content. This allows each owner to edit/delete their own content. This method just seems so inefficient, because there is an equivalent amount of ACL rules as content in the database. I was curious, how do big sites, with millions of pieces of content, solve this problem?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql