1

I would like to use AWS Lambda to run solutions to programming problems for an online courses website. So far, I use simple eval in my lambda function. However, many posts (e.g. this and this) suggest that a comprehensive solution is needed to make sure that malicious code does not render havoc.

Since implementing any sort of a solution seems to involve a very steep learning curve for me, I am wondering whether I can avoid problems by limiting a student's code to only 1 second of execution time.

If limiting the execution time to 1 second is not effective, what are the other simplest measures I can take?

2
  • Welcome to the community, but isn't this more of a programming question? Commented Jun 16, 2023 at 15:42
  • @SirMuffington I thought more in the direction of using an unprivileged account/role etc. I am actually wondering what damage if any can be done by a code when running under those restrictions. I hope to get by without any change to the lambda function itself. Commented Jun 17, 2023 at 19:41

0

You must log in to answer this question.

Browse other questions tagged .