How to make a computer that can run lua in it for a building game?

How would one create a computer that runs lua code that cannot be abused?
I am making a building game with computers you can use (like the computercraft mod for minecraft), and there are problems such as being able to kick people from servers or change datastores. I’ve contemplated having a list of services/functions to blacklist but i wanna hear from someone else to see other ways to approach this.

Yeah I think backlisting certain items is probably the right way to go. Ofc there is no 100% way to stop abusing this, cause people will always find a way to do it, so keep that in mind