Giving SP access and restrict table access

  • Hi All,

    I want give only Procedure and function access to the user and restrict table data access to the same user.

    Is there anyway to give such kind of access.

    Please advise.

    Thanks in advance.

    Arooj

  • Yes, there are more complex ways of doing this when you factor in Roles \ Schemas \ Users \ Logins but you can simply do this.

    1. GRANT the execute permission on the procedures \ functions you want the user to be able to execute.

    2. Ensure the user has no permissions on the underlying tables

    MCITP SQL 2005, MCSA SQL 2012

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply