<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/04/2013 11:15, Carrico, Paul
wrote:<br>
</div>
<blockquote
cite="mid:55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad"
type="cite">
<div><span class="073500909-11042013"><font size="2" face="Arial">Dear
All,</font></span></div>
<div><span class="073500909-11042013"></span> </div>
<div><span class="073500909-11042013"><font size="2" face="Arial">I
know it's not possible to encrypt a Scilab .sci file so far
; I want to deny reading but I want to allow execution ...</font></span></div>
<div><span class="073500909-11042013"></span> </div>
<div><span class="073500909-11042013"><font size="2" face="Arial">Does
somebody has a trick ? </font></span></div>
<div><span class="073500909-11042013"></span> </div>
<div><span class="073500909-11042013"><font size="2" face="Arial">(creating
a binary file, include it in a C file, etc. ...I've don't
know)</font></span></div>
<div><span class="073500909-11042013"></span> </div>
<div><span class="073500909-11042013"><font size="2" face="Arial">Paul</font></span></div>
</blockquote>
Dear Paul, <br>
<br>
No trick will be never possible. The user can always use fun2string
to display the source code of any function that Scilab can execute
after reading it from a .sci file. You cannot prevent Scilab for
doing so.<br>
Scilab can be executed in a mode where it displays each line of code
before executing it.<br>
The user can also modify Scilab source code to get Scilab display
whatever Scilab is allow to read. If Scilab can execute it, Scilab
can display it. This is completely unavoidable. <br>
<br>
<pre class="moz-signature" cols="72">--
Adrien Vogt-Schilb (Cired)
+33 (0) 1 43 94 73 83</pre>
</body>
</html>