many thanks..... and btw .... the predefined roots where defined by Warren Harris at Netscape in his netlib post of 11/23/1999
"Benjamin Smedberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > rvj wrote: > > sometime back in 1999 I saw a post that planned to replace resource: with > > the res: protocol > > > > eg res://<root>/<path> > > > > 1. did this happen and are following roots valid? > > The resource: protocol is this protocol. Currently the following keys are > supported by default: > > resource:/// (empty root) == application directory > resource://gre/ == GRE directory (or app directory if not using a GRE) > resource://app/ == XUL application directory (if running a XULRunner app) > > > ProgramDir > > CurrentDir > > TempDir > > ComponentsDir > > SystemDir > > No, and there is no plan to support these for security reasons. In > particular "tempdir" would open up serious attack vectors. Why would you > need these anyway? If you are privileged code you can get these from the > directory service directly. > > --BDS _______________________________________________ Mozilla-netlib mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-netlib
