Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 20 of 29 total
Thread Locking statements
Thu, Feb 17 2011 3:58 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>In that case, the built-in user security will do what you want:
>
>http://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=User_Security

Shouldn't that be in the .pdf as well?

Roy Lambert
Thu, Feb 17 2011 3:59 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Charalampos


I for one would vote against this.

Roy Lambert

Charalampos Michael <chmichael@_-_no_-_creationpower_-_spam_-_.com> wrote on Thu, 17 Feb 2011 00:52:32 +0200

>Dear Tim,
>
>> << No, the client will have the client application which it will only
>> connect to my server. (IOW, the client will not have access to any
>> catalogs or tables) >>
>>
>> In that case, the built-in user security will do what you want:
>>
>> http://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=User_Security
>
>Thanks for the link. My point was that this security system doesn't
>support operators/conditions eg, "Like". (IOW to block the user to
>use the "Like" operator)
>
>Could you add it into your outstanding huge list please ? <vbg>
>
>--
>Charalampos Michael - [Creation Power] - http://www.creationpower.gr
Thu, Feb 17 2011 4:56 AMPermanent Link

Aaron Christiansen

There's another solution here:

move all your SQL to stored procedures. That way there is no SQL in the app to be modified. I believe, although the documentation is not 100% clear, that you can then restrict priviledges to a user / role of EXECUTE on specific stored procedures, meaning:

1. they cannot run any SQL at all (assuming all other priviledges have been REVOKED)
2. they can only execute the stored procedure(s) you nominate

this would be an even more thorough solution to what you are proposing, as you would also need to restrict CONTAINS queries for any text-indexed columns.

HTH
Aaron
Thu, Feb 17 2011 5:41 AMPermanent Link

Aaron Christiansen

<<Roy Lambert wrote:

Tim

>In that case, the built-in user security will do what you want:
>
>http://www.elevatesoft.com/manual?action=viewtopic&id=edb2sql&topic=User_Security

Shouldn't that be in the .pdf as well?

Roy Lambert>>

It is in the PDF, but I think it needs fleshing out / descriptions for all the priviledges.
Thu, Feb 17 2011 7:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Aaron


I suddenly twigged - its in the SQL manual not the ElevateDB manual. In there it simply says you should look at the topic -


Tim it might be a good idea when cross referencing manuals to make it clear.

Roy Lambert
Thu, Feb 17 2011 1:03 PMPermanent Link

Charalampos Michael

Dear Aaron,

> There's another solution here:
>
> move all your SQL to stored procedures. That way there is no SQL in the app to be modified. I believe, although the documentation is not 100% clear, that you can then restrict priviledges to a user / role of EXECUTE on specific stored procedures, meaning:
>
> 1. they cannot run any SQL at all (assuming all other priviledges have been REVOKED)
> 2. they can only execute the stored procedure(s) you nominate
>
> this would be an even more thorough solution to what you are proposing, as you would also need to restrict CONTAINS queries for any text-indexed columns.

Or view! Thank you!!! Why i didn't think of that ? Smile

--
Charalampos Michael - [Creation Power] - http://www.creationpower.gr
Thu, Feb 17 2011 1:03 PMPermanent Link

Charalampos Michael

Dear Roy,

As a stupid Terminator would asked Smiley... Why ?

> I for one would vote against this.
>
> Roy Lambert

--
Charalampos Michael - [Creation Power] - http://www.creationpower.gr
Thu, Feb 17 2011 5:01 PMPermanent Link

Steve Gill

Avatar

Charalampos Michael wrote:

Dear Roy,

As a stupid Terminator would asked Smiley... Why ?

> I for one would vote against this.
>
> Roy Lambert

IMHO I think it would be a nightmare having permissions down to that level.  Do other databases do this?  I've never seen it in MS SQL Server or Oracle.

Regards,

Steve
Fri, Feb 18 2011 3:07 AMPermanent Link

Charalampos Michael

Dear Steve,

> IMHO I think it would be a nightmare having permissions down to that level.  Do other databases do this?  I've never seen it in MS SQL Server or Oracle.
>
> Regards,
>
> Steve

MySQL

--
Charalampos Michael - [Creation Power] - http://www.creationpower.gr
Fri, Feb 18 2011 4:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Charalampos


Steve's given the major part of my answer. I'd extend it by saying - exactly which bits of syntax do you manage - you've mentions LIKE but there are others, then there's user defined functions. Life's to short for the potential mess.

Roy Lambert
« Previous PagePage 2 of 3Next Page »
Jump to Page:  1 2 3
Image