Permissions done on MySQL side or PHP side?

Posted by Kerry on Stack Overflow See other posts from Stack Overflow or by Kerry
Published on 2010-06-14T00:48:25Z Indexed on 2010/06/14 0:52 UTC
Read the original article Hit count: 224

Filed under:
|

When I am grabbing data from my table that require permissions, should all the permission be done there? Such as checking for an admin or if they can view the data (in MySQL)?

Or should I grab it if they have a record at all, then check the specific actions (such as view, add, edit, delete) on the PHP side?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql