lambda - PHP sandbox/sanitize code passed to create_function -
I am using create_function, some user-code to run at the server end. I am looking for any of these two:
- Is there any way to process the code passed to prevent some harmful from executing it?
- Alternatively, there is a way to specify this code to run in a sandboxed environment so that users can play with something else.
Thank you!
Comments
Post a Comment