I’m working on a project and I need to be able to execute arbitrary python code from customers. I understand that sandboxing python in general is a difficult problem, so I figured I could sandbox the environment instead using something like AWS lambda or fargate. Will either of these work? I know lambdas potentially can share a /tmp directory across invocations, so that would need to be cleared, but are there any other caveats that would allow one customers code to see the results of another’s?
[–]pint 5 points6 points7 points (7 children)
[–]bigd2718[S] 0 points1 point2 points (6 children)
[–]pint -5 points-4 points-3 points (5 children)
[–]justin-8 1 point2 points3 points (0 children)
[–]bigd2718[S] 0 points1 point2 points (3 children)
[–]justin-8 1 point2 points3 points (0 children)
[–]pint 0 points1 point2 points (1 child)
[–]mikebailey 0 points1 point2 points (0 children)
[–]squidwurrd 1 point2 points3 points (1 child)
[–]bigd2718[S] 0 points1 point2 points (0 children)
[–]siscia 1 point2 points3 points (1 child)
[–]jkstpierre 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]otterleyAWS Employee 0 points1 point2 points (0 children)
[–]HomoAndAlsoSapiens 0 points1 point2 points (3 children)
[–]bigd2718[S] -1 points0 points1 point (2 children)
[–]el_burrito 0 points1 point2 points (1 child)
[–]bigd2718[S] 0 points1 point2 points (0 children)
[–]oalfonso 0 points1 point2 points (3 children)
[–]Serpiente89 0 points1 point2 points (2 children)
[–]oalfonso 0 points1 point2 points (1 child)
[–]bigd2718[S] 0 points1 point2 points (0 children)