<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE-AT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>But i can&#8217;t restrict the user from adding any assemblies he want
(since the assemblies are in the project or gac)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Rainer <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
users-bounces@lists.ironpython.com [mailto:users-bounces@lists.ironpython.com] <b>Im
Auftrag von </b>Dody Gunawinata<br>
<b>Gesendet:</b> Montag, 30. Juni 2008 14:25<br>
<b>An:</b> Discussion of IronPython<br>
<b>Betreff:</b> Re: [IronPython] restrict scripting access<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>In the IronPython hosting API,
unless you specifically load the assembly, it will not be accessible through
the script. So right now restricting access means configuring the assemblies
you want to expose to the script.<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Jun 30, 2008 at 3:09 PM, Ben Hall &lt;<a
href="mailto:ben2004uk@googlemail.com">ben2004uk@googlemail.com</a>&gt; wrote:<o:p></o:p></p>

<p class=MsoNormal>I thought this last night, it would be really useful if we
could<br>
'sandbox' the IP engine and limit it's access to certain areas of the<br>
framework.<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
<br>
<br>
On Mon, Jun 30, 2008 at 12:57 PM, Rainer Worbis &lt;<a
href="mailto:r.worbis@cubido.at">r.worbis@cubido.at</a>&gt; wrote:<br>
&gt; No - for example i would like to prevent that the user loads assemblies
and does own data access via System.Data.SqlClient.<br>
&gt; Or uses specific parts of the applications. (which should be visible to
other scripts). So access control per script would be optimal.<br>
&gt;<br>
&gt; Rainer<br>
&gt;<br>
&gt; -----Ursprüngliche Nachricht-----<br>
&gt; Von: <a href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a>
[mailto:<a href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a>]
Im Auftrag von Korbinian Abenthum<br>
&gt; Gesendet: Montag, 30. Juni 2008 13:47<br>
&gt; An: Discussion of IronPython<br>
&gt; Betreff: Re: [IronPython] restrict scripting access<br>
&gt;<br>
&gt; Rainer Worbis wrote:<br>
&gt;&gt; is there a way to restrict access to objects or namespaces<br>
&gt;&gt; within a script? We use IronPython for providing scripting<br>
&gt;&gt; functionality within our .NET Application but would like to<br>
&gt;&gt; restrict access to certain functions. Has anybody information<br>
&gt;&gt; or a sample how to do that?<br>
&gt;<br>
&gt; Can you declare the restricted objects as &quot;internal&quot;?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; &nbsp;Korbinian<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
&gt; <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
&gt; <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
&gt;<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com"
target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
<a href="http://nomadlife.org">nomadlife.org</a><o:p></o:p></p>

</div>

</body>

</html>