-
Hi there! Love the work you've done with jint. I'm looking at embedding it into a C# game as a simple untrusted user scripting solution, and I was wondering if there was a way to enable CLR interop while minimising what's exposed to the script. Ideally, I'm looking for something that will let me enforce a whitelist like this: https://wiki.facepunch.com/sbox/AccessList#accesslist I had a look through the repo and found this comment, which I think should work, but I'd love to use a more granular mechanism if it exists. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you should be able to do all the filtering you need by combining |
Beta Was this translation helpful? Give feedback.
I think you should be able to do all the filtering you need by combining
AllowClr
call with wanted assemblies + using TypeResolver, here are some test cases covering member + types,