Scripting by C# is somewhat limited as you cannot add references to .NET
libraries. The references that are supplied are pretty limited. As I recall
there was only a reference to System library and one more.

I actually wrote a POC that uses network sockets using C scripts. For that
I had to modify the source code of the simulator and add references to
libraries like System.Net.

So, we can say that the actions that you can do using C# scripting seem to
be pretty harmless as you don't have access to the network and file system
libraries. Even though, I'd take caution in allowing untrusted people to
write C# scripts.


Asaff


On Wed, Feb 20, 2019 at 10:13 PM Serendipity Seraph <[email protected]>
wrote:

> I have run into some grids that are worried by a reported lack of
> limitation on what C# classes and methods can be called.   Does anyone have
> more detail on this?  It doesn't seem to me that putting in a script
> scanner that would limit what calls to C# can and cannot go through would
> be all that difficult.    So is the problem at the least over-inflated?  Is
> the concern out of date or misplaced?
> _______________________________________________
> Opensim-users mailing list
> [email protected]
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>
_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to