Using as sandbox

Skip to first unread message

Fahid Abdullah

Dec 31, 2023, 8:12:46 PM12/31/23
to rextester
Hello, I was currently developing an application that needed to use a sandbox environment. While looking for existing solutions, I found rextester and saw that there was an API available. I had a few questions that I'm hoping someone can answer.

For the sandbox, is there a way in which a user can upload required dependencies for their code? Say I wanted to import psutil from Python, but it wasn't installed in the sandbox. Is there some kind of field in the request I could use to upload required dependencies that needed to be installed?

Another question I had was just about the security of the sandbox. How secure would you say it is to run some user's code? I was going to handle some server side validation by preventing things like database access and writing to files, but those are bare minimums and I'm not exactly sure how secure a sandbox should be, nor have much experience with it, so I was wondering if you could let me know more about the security of the sandbox on rextester.

Thank you!


Jan 1, 2024, 11:31:58 AMJan 1
to rextester

1. Uploading dependencies is not supported.
2. Rextester runs for almost 13 years and there were some security incidents which were fixed and none I'm aware of currently.

Reply all
Reply to author
0 new messages