944,104 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 524
  • MySQL RSS
Oct 25th, 2009
0

mySQL permissions ... a few newbie questions

Expand Post »
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; Oct 25th, 2009 at 2:31 am. Reason: found some manuals online
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
haggis-man is offline Offline
19 posts
since Sep 2009
Oct 25th, 2009
1
Re: mySQL permissions ... a few newbie questions
Click to Expand / Collapse  Quote originally posted by haggis-man ...
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.

Click to Expand / Collapse  Quote originally posted by haggis-man ...
If not, I guess I have to use separate tables or views for each user.
You are right, you have to use views.
Reputation Points: 29
Solved Threads: 47
Posting Whiz
mwasif is offline Offline
312 posts
since Dec 2007
Oct 25th, 2009
0
Re: mySQL permissions ... a few newbie questions
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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
haggis-man is offline Offline
19 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: Special chars in Insert query...
Next Thread in MySQL Forum Timeline: SQL Injection -measures for prevention





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC