in reply to Re^3: Asynchronous Program Spawning
in thread Asynchronous Program Spawning
If you do that as
system qq[program "$filename" &];
It won't matter if the filename contains spaces or not. That's a simple programming problem and hardly worthy of description as "security issue".
As for "injection attacks", I assume that you mean if the source of all or part of the command supplied to the system command is an untrusted external source, then care must be taken. I fail too see how the start command is any more or less of a security risk to invoking an untrusted command directly?
If you get data from untrusted sources, don't you have to be just as careful invoking that data as a command directly as you do invoking it indirectly via a command shell?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Asynchronous Program Spawning
by ikegami (Patriarch) on Feb 12, 2006 at 19:48 UTC | |
|