I have noted a couple of things about the new 'secure command.  I
wasn't able to set any refinements(?) to the net security. See snipit:

  >> secure [
  [    net [
  [        ask all
  [        ]
  [    ]
  ** Script Error: Invalid argument: ask all.
  ** Where: secure [
      net [
          ask all
      ]
  ]

What access types are available for net security?  (what exactly does
rebol consider net activity?)

Also when querying security from rebol, I notice an access type that
rebol recognizes, but isn't documented in the update.html. This is
execute. Does the current version (2.1.90) actually use this access
type for anything, or is it there for future implementation?

One last thing.  When a script tries to change the security level
(like lowering it), rebol alerts you and prompts if this is ok. Now
this is a nice feature, but the prompt gives no indication of exactly
_what_ is changing. (Like I added the following to the rnill.r script
from rebol.org:

  secure [
          %RNILLData.txt allow
  ]

I did this to allow the script to read/write it's own configuration
file without fuss.  What I got was:

  REBOL 2.1.90.1.1
  Copyright (C) 1998-1999 REBOL Technologies
  [... loading stuff snipped ...]
  Script: "RNILL - REBOL Non Intelligent Language Learner" (7-Aug-1999)
  REBOL - Security Check:
  Script requests permission to lower security level
  Yes, allow all, no, or quit? (Y/A/N/Q)

This prompt gives me no indication of what or why the security level
is being changed, so if I didn't know better I would not allow it.
Mebby if rebol would also tell the user what security levels are being
changed, it would help. (And another thought, if a security level is
changed in any script but the two startup scripts (rebol.r and user.r
(hmmm... I'm just noticing the conceptual similarity between
rebol.r/user.r and Amiga's startup-sequence/user-startup...) might the
security level only be a 'local' security? Or should this not matter
because one rebol instance can't run several scripts at once.)

Pax
-- 
     Member: Team AMIGA                       --} WatchDog
Fingerprint: 2C 8A 03 3C D6 D3 32 7F         (Chris Elliott)
             66 0F 9B 9F 03 77 1D 85      PGP Key ID: A6A79259
<tsb>"That's as may be, it's still a frog."

Reply via email to