[IronPython] restrict scripting access

Rainer Worbis r.worbis at cubido.at
Mon Jun 30 04:57:05 PDT 2008


No - for example i would like to prevent that the user loads assemblies and does own data access via System.Data.SqlClient.
Or uses specific parts of the applications. (which should be visible to other scripts). So access control per script would be optimal.

Rainer

-----Ursprüngliche Nachricht-----
Von: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] Im Auftrag von Korbinian Abenthum
Gesendet: Montag, 30. Juni 2008 13:47
An: Discussion of IronPython
Betreff: Re: [IronPython] restrict scripting access

Rainer Worbis wrote:
> is there a way to restrict access to objects or namespaces
> within a script? We use IronPython for providing scripting
> functionality within our .NET Application but would like to
> restrict access to certain functions. Has anybody information
> or a sample how to do that? 

Can you declare the restricted objects as "internal"?

Cheers,
 Korbinian
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the Users mailing list