Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Script permissions

From: brett:codeconscious at: 24-Jun-2001 14:39

Hi David, Rebol has a sandbox model (I don't know of any official documentation I can point you to). The sandbox that a script runs in appears to be based on where the script lives. That is the same directory of the script and sub-directories are ok to access. So you set up your icon in bookmarks.r. You supplied no path so your mycode.r file must reside in the View directory itself. For you to get a security check, your mycode.r file must have tried to access a file or directory outside of the View directory or one of it's subdirectories. There's more to it, but I have to run off. I'll try to go into more detail later unless someone else jumps in. See also, http://www.escribe.com/internet/rebol/m9642.html Brett.