Jint security concerns

Sep 18, 2013 at 8:35 AM
How can I use Jint allowing only methods that I expose for Javascript.
For instance:

.net class A instance a.
jintEngine.SetParameter("x", a);

I want only methods with [ScriptableMember] attributes are allowed.
class A
{
[ScriptableMember]
public ExposedMethod();
public NotAllowedMethod();
}