How can I secure my Store Procedure [Resolved]

Posted by Amatya under Sql Server on 2/16/2016 | Points: 10 | Views : 333 | Status : [Member] | Replies : 2
Guys .. I have a stored Procedure, I dont want any one to execute it(it is very important) because if any one executes many tables will be affected. I want some security so that that stored Procedure is lock or before Executing it some confirm message should appear. It is possible or not?

Feel free to share informations 9731764134
Thanks



Responses

Posted by: Rajnilari2015 on: 2/16/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
@Amatya Sir,
You can issue permission on the SP as under

GRANT EXECUTE ON dbo.procname TO username;


Hope this helps

--
Thanks & Regards,
RNA Team

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 2/17/2016 [Member] Bronze | Points: 25

Up
0
Down
Fantastic.. Their is a option.. :)
I dont know that what is a Username here?

Feel free to share informations 9731764134
Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response