Click here to Skip to main content
15,113,057 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi i'm using
exec xp_cmdshell
in my project which is not secure. Do anyone suggest alternative for
exec xp_cmdshell


What I have tried:

Hi i'm using <pre>exec xp_cmdshell
in my project which is not secure. Do anyone suggest alternative for
exec xp_cmdshell
Posted
Comments
Jochen Arndt 20-Apr-18 5:10am
   
Have you tried searching the web for "xp_cmdshell alternative"?
Richard Deeming 20-Apr-18 9:35am
   
The answer is going to depend on precisely what you're using xp_cmdshell to do.
rajah rajah 23-Apr-18 1:20am
   
I'm storing a script in a path and again executing it. Both storing and executing by cmdshell..
Rajat-Indiandotnet 30-Apr-18 9:59am
   
The script storage work you can do by your frontend code and save at particular position and read entire script in memory and execute the code directly calling the command from C# or whatever language you are using. - This is one of the alternatives.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900