Permission problem
[1/3] from: didier:jacquemart:libertysurf at: 6-May-2002 22:40
Hi,
When I click on a program in windows explorer, i get the following message :
Script requests permission to open a port for read only on xxxxx.r
I answer Yes to all, then the program runs.
How to avoid this message?
Thanks.
[2/3] from: tomc:darkwing:uoregon at: 7-May-2002 19:52
First, be very sure this is what you want to do.
(It is dangerous to give scripts permissions
without knowing what they do, and just clicking
makes it too easy to run a script without checking)
In fact it is such a bad idea I will instead offer an
alternative that will enable you to run a particular
script (which you know it is safe to bypass the security)
by clicking on an icon in windows exploder.
first make a "shortcut" to your rebol executable
then edit the "target" properties of that shortcut
example:
from-- C:\rebol\view\rebol.exe
To -- C:\rebol\view\rebol.exe -s Z:\path\to\particular-script.r
then rename the shortcut to something meaningful and you are done.
(it is the -s flag that avoids request to lower security)
On Mon, 6 May 2002, Didier Jacquemart wrote:
[3/3] from: anton:lexicon at: 8-May-2002 12:54
Use:
secure none
This pops the message but subsequently there will be
no more messages.
Secure can return your current security settings too:
secure query
You can also launch your rebol.exe process with a
command-line argument -s to lower security from the start.
Have a look:
usage
Anton.