Is there anyway I can set MS SQL Server stored procedures so that they can only be activated by another stored procedure and can not be activated from an outside Perl DBI call? I would quite like to be able to set up a condition like this through use of a Perl code snippet? I have googled to try to get an answer but without too much luck.
What I am really looking for is a sproc path tracker with the capacity to set requirements for execution paths prior to a SPROC being activated. Is it feasible for such a thing to be programmed using SPROCS and a Perl coded interface?
Maybe I am jumping ahead of myself here. I should start by asking whether there is a means of calling MS SQL Server object dependencies using Perl.
2006-04-26 Retitled by planetscape, as per Monastery guidelines
Original title: 'Setting up SPROC permissions from a Perl snippit - Is it possible?'