MySQL Forums
Forum List  »  Newbie

Re: Is there some way to fake row priledges?
Posted by: Chris Stubben
Date: June 03, 2005 03:02PM

Hi,

You should be able to list columns after privileges like this...

grant delete, update (columna, columnb) on dbname.table to 'user';


Also, if you really want row level privileges, you probably need to code this into a web interface (only webuser can update the table, and will only allow changes to rows where the login column matches a user's login name).

Or you can use a separate table for each user and then use UNIONS to collect rows from all tables. Or you may be able to use one table and create updatable views in 5.0 (one for each login user). Both with be difficult to manage...


Chris

Options: ReplyQuote


Subject
Written By
Posted
Re: Is there some way to fake row priledges?
June 03, 2005 03:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.