in reply to storing perl code in database
Perhaps I'm paranoid, but I'd worry about evaling stuff straight out of a database... do you have sufficient controls to ensure that someone cannot put Bad Stuff (tm) in the database ?
Unless there's a need for rapid and frequent extensions, where you really have to build this out... I'd favour storing some sort of name in the database, and mapping that at run time to the relevant routine -- with careful validation of any arguments (of course).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: storing perl code in database
by sflitman (Hermit) on Nov 18, 2008 at 03:31 UTC |