more useful options | |
PerlMonks |
trying to understand (my)sql user rights/levels and advanced featuresby parasew (Beadle) |
on Sep 14, 2003 at 11:37 UTC ( [id://291378]=perlquestion: print w/replies, xml ) | Need Help?? |
parasew has asked for the wisdom of the Perl Monks concerning the following question:
i am trying to create a quite secure web-portal with a database backend. (mysql) i was wondering if it is possible somehow to map the users that would be created to use the system, to "real" mysql users -- the idea was to have security from the backend: the main "surfer" would connect to the db via a user that can only read all data. system users would connect with their username (+level) so they have read and write access to several parts. as far as i found out, users in mysql are only used for access_control, there is generally no information which user put which entries to the DB (please correct me, if i am wrong). is there some way to restrict the DB-users to just be able to modify and delete content they added to the db (from the backend side)? this would bring a really good access-by-level aproach: -websurfers connect to the db with a user that can just read -system users connect with their account, can write into some parts (tables) but can just delete/mod their own added content (or maybe group content)
Back to
Seekers of Perl Wisdom
|
|