tsql - SharePoint SLK and T-SQL xp_cmdshell safety -


i looking tsql command called "xp_cmdshell" use monitor change slk (sharepoint learning kit) database , execute batch or powershell script trigger events need. (it bad practice modify sharepoint's database directly, using api)

i have been reading on various blogs , msdn there security concerns approach. sites suggest limit security command can executed specific user role.

what other tips/suggestions recommend using "xp_cmdshell"?

or should go way , create script or console application checks if change has been made?

i running server 2008 sql 2008.

why don't create clr sp using c# , have take care of calls api , other external processes within it. safer , easier manage because need grant execute access clr sp.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -