my question is rather simple.
Can i grant permissions on a database table wise? something in the lines:
- User Management has permission to select, update, insert and delete on table Projects
- User Supervisor has permission to select, update, insert on table Projects
- User Colaborator has permission to select on table Projects
If so, I could set up a system to create database users based on the levels of access of my application, much like the examples above.
Is it a valid mechanism to use this to secure a application?
is it worth on a real world application?
i've used PHP with Oracle and MySQL, but I'm look for a database/language agnostic answer, but any example would be useful.
pushing my luck a bit, what about per record permission granting? also, what about table schemas, are they a more acceptable then table based permissions?