Re: [Pyparsing] Question/help with pyparsing
Brought to you by:
ptmcg
From: Ralph C. <ra...@in...> - 2007-11-11 10:52:57
|
Hi Vineet, > That's a good idea. My current plan is to use part of the following > receipe: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496746 It might be better from a security point of view to list what's allowed, having carefully considered the implications of each opcode, rather than list what's disallowed. If you miss an opcode by accident, the former will cramp what the user can express, the latter will let them escape your constraints. Cheers, Ralph. |