mySQL permissions ... a few newbie questions

Reply

Join Date: Sep 2009
Posts: 15
Reputation: haggis-man is an unknown quantity at this point 
Solved Threads: 1
haggis-man haggis-man is offline Offline
Newbie Poster

mySQL permissions ... a few newbie questions

 
0
  #1
33 Days Ago
I haven't used the mySQL permissions mechanism to any great degree & could use a little help while still at the design stage.

Is it possible to grant certain users access only to certain RECORDS within a table (based on the value of a field in those records).

If not, I guess I have to use separate tables or views for each user.

Some initial guidance or links to reference material would be greatly appreciated. TIA

Edit: I am reading the manuals BTW - http://dev.mysql.com/doc/#manual
Last edited by haggis-man; 33 Days Ago at 2:31 am. Reason: found some manuals online
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 190
Reputation: mwasif is an unknown quantity at this point 
Solved Threads: 25
mwasif mwasif is offline Offline
Junior Poster
 
1
  #2
33 Days Ago
Originally Posted by haggis-man View Post
Is it possible to grant certain users access only to certain RECORDS within a table (based on the value of a field in those records).
No, you can not.

Originally Posted by haggis-man View Post
If not, I guess I have to use separate tables or views for each user.
You are right, you have to use views.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 15
Reputation: haggis-man is an unknown quantity at this point 
Solved Threads: 1
haggis-man haggis-man is offline Offline
Newbie Poster
 
0
  #3
33 Days Ago
Many thanks for that mwasif - I dropped off reading the mySQL documentation last night but had pretty much formed that opinion. Good to have it confirmed before setting myself unattainable goals.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC