Re: security flaw

From: Richard Waymire [MS] (rwaymi_ms@microsoft.com)
Date: 05/29/02


From: "Richard Waymire [MS]" <rwaymi_ms@microsoft.com>
Date: Wed, 29 May 2002 14:49:54 -0700


Depends on what you mean... if the stored proc has the same owner as the
table then this is expected behavior - look up "ownership chains" in the
books online.

--
Richard Waymire, MCSE, MCDBA
This posting is provided "AS IS" with no warranties, and confers no rights.
"Hina Masud [MS]" <Hina@online.microsoft.Net> wrote in message
news:q#l1qH1BCHA.1720@cpmsftngxa07...
> Hi Ramy,
>
> i just tested this out and what you have stated is incorrect. if the
select permission is denied on the table the stored
> procedure is using then you will see the following error when you try to
execute the sp (with only execute permissions
> given to the user for the sp)
>
> Server: Msg 229, Level 14, State 5, Procedure A, Line 1
> SELECT permission denied on object 'authors', database 'pubs', owner
'hinam'.
>
> Go to Security Folder and check the users permissions there as well as its
permissions in the database and objects.
>
> Thank you
>
> Hina Masud
> Microsoft
>
> Disclaimer:
> This posting is provided AS IS with no warranties, and confers no rights.
>
> Are you secure? For information about the Microsoft Strategic Technology
> Protection Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.
>
> --------------------
> -Content-Class: urn:content-classes:message
> -From: "ramy" <raman_ramesh@k2c.biz>
> -Sender: "ramy" <raman_ramesh@k2c.biz>
> -Subject: security flaw
> -Date: Tue, 7 May 2002 21:46:59 -0700
> -Lines: 10
> -Message-ID: <12c601c1f64b$63b10450$9ee62ecf@tkmsftngxa05>
> -MIME-Version: 1.0
> -Content-Type: text/plain;
> - charset="iso-8859-1"
> -Content-Transfer-Encoding: 7bit
> -X-Newsreader: Microsoft CDO for Windows 2000
> -X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
> -Thread-Index: AcH2S2OxZjsFLqK1R5CeliW/DHCeMA==
> -Newsgroups: microsoft.public.sqlserver.security
> -NNTP-Posting-Host: TKMSFTNGXA05 10.201.232.164
> -Path: cpmsftngxa07!cpmsftngxa09!cpmsftngxa08
> -Xref: cpmsftngxa07 microsoft.public.sqlserver.security:5702
> -X-Tomcat-NG: microsoft.public.sqlserver.security
> -
> -i have observed the following flaw.
> -
> -i deny select rights on a table for a user, but if
> -the user has got execute rights on a stored procedure
> -which uses the said table. he still can access the
> -table through the sp.
> -
> -please advice.
> -
> -
> -
>
>


Relevant Pages

  • Re: Assiging permissions for a group to logon to a domain controll
    ... Windows Settings>Security Settings>Locla Policies>User Rights ... Allow logon through Terminal Services. ... To grant a user these permissions, start either the Active Directory Users ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: NTFS folder permissions - Creator Owner issue (I think)
    ... From what you're telling me an owner has rights that cannot ... which seems to include the right to change permissions whether we ... >> the grant to Creator Owner becomes a real grant to the creator or the ...
    (microsoft.public.security)
  • Re: Rights Problem with IWAM and IUSR Accounts
    ... > account name for newsgroup participation only.<< ... > © 2002 Microsoft Corporation. ... All rights reserved. ... > | Access Permissions and the Edit Default button. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Setting correct NTFS permissions on Home Folders
    ... Maybe I'm confused, but, I thought I did NOT want to make them the OWNER, ... While I originally did want to make all users OWNERS of their Home Folders, ... could actually remove or change rights and break inheritance, ... > Provided you users' home folders inherit permissions from parent folder, ...
    (microsoft.public.windows.file_system)
  • Re: NTFS folder permissions - Creator Owner issue (I think)
    ... From what you're telling me an owner has rights that cannot be ... which seems to include the right to change permissions whether we want ...
    (microsoft.public.security)