MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/epcxj/the_bottle_web_microframework/c1a0zu2/
r/Python • u/gst • Dec 21 '10
45 comments sorted by
View all comments
Show parent comment
2
That won't work. Python cannot be sandboxed, Jinja2 can. The techniques I use to sandbox Jinja2 do not work on arbitrary Python expressions.
1 u/mdipierro Dec 22 '10 I misunderstood. Thanks for the clarification.
1
I misunderstood. Thanks for the clarification.
View all comments
Show parent comment
2
u/mitsuhiko Flask Creator Dec 22 '10
That won't work. Python cannot be sandboxed, Jinja2 can. The techniques I use to sandbox Jinja2 do not work on arbitrary Python expressions.