Re: Exec permissions on Stored Procedure



gv (viator.gerry@xxxxxxxxx) writes:
Seems the more objects you give permissions to the more risk there is?
Logical to me.

If I'm Admin and say I want someone to run that SP, shouldn't matter who
owns what objects used in that SP.

I can agree that the idea the if the procedure owner has permission to the
table, that should be enough. Rick gave a good example, but to me it is a
little contrived - I've heard of a site actually doing things like that.
And in any case, if Production has granted Marketing access with the GRANT
option (which permits Marketing to grant other the permission), there is
no reason from a security point of view that it should not work. And
obviously, if the procedure is dbo, there is no security issue at all.

Instead the answer rather "it is the way it is of technical and legacy
reasons". You are on SQL 2000, but if you read my article, you saw that
SQL 2005 offers new mechanism that are more whole-covering.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • [Full-Disclosure] RE: SQL Slammer doing the rounds again?
    ... > direct access to a SQL server across whatever network they're installed ... described is not "a valid business reason". ... whose expertise is making widgets not computer security. ... Or the web designers may be seen as "creative geniuses" whose flashy, ...
    (Full-Disclosure)
  • Re: How to disable the Windows NT login authenticate at SQL-Server 2000 login Form ? @Thanks
    ... How to Impede Windows NT Administrators from Administering ... SQL Server Full-Text Search Does Not Populate Catalogs ... For information about the Microsoft Strategic Technology Protection Program and to order your FREE Security Tool Kit, ... Download the latest version of books online: Q303839 Updates to SQL Server Books Online for SQL Server 2000) ...
    (microsoft.public.sqlserver.security)
  • RE: Security - User access
    ... Microsoft SQL Server 2000 SP3 Security Features and Best Practices ... Download the latest version of books online: ...
    (microsoft.public.sqlserver.security)
  • Re: Cursor looping versus set-based queries
    ... A concrete example would be security data. ... I trusted the CUSIP value they gave me but not the ... The reason why I suggested the multiple pass validation approach was to ... State what version of SQL Server you are using and specify the content ...
    (comp.databases.ms-sqlserver)
  • Re: Update string too long?
    ... > And we won't question to reason for this routine as you asked... ... Pro SQL Server 2000 Database Design - ... > support the full length of the inserted data? ...
    (microsoft.public.sqlserver.programming)