how can i secure some row from my table [message #624615] |
Wed, 24 September 2014 02:36 |
|
x-oracle
Messages: 380 Registered: April 2011 Location: gujarat
|
Senior Member |
|
|
i want to ask you if i have one table table name EMP in this EMP have 50 rows now i want to permenently secure some raws from this table i want another user not to update and delete some raws from this emp table who have all rights on my emp table
exaple if
user "A" has one table EMP user "A" want to give grant select,insert,update,delete on EMP table to user "B" but from this emp table user"B" only access some raws only on some raws he cannot update and delete from this emp table...
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: how can i secure some row from my table [message #625352 is a reply to message #625350] |
Mon, 06 October 2014 07:19 |
Solomon Yakobson
Messages: 3273 Registered: January 2010 Location: Connecticut, USA
|
Senior Member |
|
|
First of all, this it ORACLE, not MySQL forum. Secondly, solution you are referring to is about restricting viewing some table rows, not about restricting modifying some table rows. Creating a view and granting select privilege on it instead of table will prevent grantee from modifying all rows, not some rows as OP requested.
SY.
|
|
|
|
|
Re: how can i secure some row from my table [message #625360 is a reply to message #625359] |
Mon, 06 October 2014 09:38 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
John, those are not my words. I was just quoting Tim's words as mentioned in the posted link :
Quote:access via other methods (SQL*Plus) would leave the data open to abuse.
Edit : I have not tested the demo, now that you have pushed me to think, I will try to do that or leave a message to Tim to clarify his statement. Either way, it should bring more clarification.
[Updated on: Mon, 06 October 2014 09:40] Report message to a moderator
|
|
|
|
|