Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Scriptor
· 12y ago · 0 comments
Is there any way to restrict your app's environment beyond the default sandbox restrictions Google applies? For example, disabling things like urllib2.
Comments
[–]
Foxboron
12y ago
I didn't write the code, and i'm not sure if you can. You could always use the import hooks and deny modules from being imported.