"Sandboxing" Custom scripts

So, i decided to add a feature to my game, that adds scriptable items, and I heard about the term sandboxing, which apparently means blacklisting potentially harmful stuff that someone could script, how could I do this?