Sign in to follow this  
DalexL

Utilizing .net languages as a scripting language

Recommended Posts

I wanted to use both C# and VB.net as two scripting languages for a game I have in development. Lua will be the main language that I will be using but wanted an option for my clients to work with .net languages (as states above) to interact with heaver components of the game such as server handling etc. I was going to have the C# and VB.net compiled by the .net compilers and turn them into libraries (similar to plugins in programs such as Paint.net).

After thinking it through, there *might* be some security issues involved here. The servers may be run on a clients computer so I don't want to cause any problems such as naughty clients getting funny and making things that spread, spam, or otherwise harm the clients computer. I want to be able to disable a couple of things that are normally used by these languages such as file saving and stream writing.

Basically, I was wondering if this was a feasible idea or if I should look for something else. Is there perhaps a compiler located conveniently for this purpose already out there? I can't find anything else of the exact subject.

Thanks.

Share this post


Link to post
Share on other sites
.NET has very powerful security mechanisms built-in. You could run the plugins at partial trust and even block things like IO. I suggest you look up security in the .NET framework to see all the options that are available. But sufice to say your security worries have built-in solutions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this