Permissions to specific function

  • Hello.

    I need to grant permissions to specific scalar function in specific database.

    How Can I deny execution from everyone except 3 specific users / logins?

    Thanks.

  • Hi,

    The solution really depends on the security set up you apply.

    If the object is new and all logins (or groups) only have the permissions they need then you can just grant execute permissions on the object to the login(s) you require.

    GRANT EXECUTE ON TO

    That would probably be the simplest solution.

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

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