I've got an ASP.Net web app that needs to run processing tasks from time to time, based on the actions of an admin user. One of the tasks I'm looking at will require shelling out to run an a command-line app, to securely transfer a file. I have no choice but to use the command-line app I've been provided.
The ASP.Net page in question will call into my dll, and if the dll determines that the command-line app needs to be executed, it will do so.
I'm wondering about the potential security issues around setting this up, though. Is this stupid and/or dangerous? Can anyone comment, or suggest how I might safely tackle this problem?
Thanks.