More URI Expressions (was: list slicing and splicing)

Mark S. Miller markm@erights.org
Tue, 03 Nov 1998 19:13:36 -0800


At 12:37 AM 10/15/98 , Ka-Ping Yee wrote:
>What did you have in mind that non-fetchable URLs like
>mailto:markm@erights.org would yield?

[#] Quoting elmer, the current answer is

? mailto:markm@erights.org asString
# value: <title>mailto:markm@erights.org</title>
#        <h1>Send Mail to markm@erights.org</h1>
#        <hr>
#        <applet code=sun.hotjava.applets.MailDocumentApplet width=500
height=370>
#        <param name=url value="mailto:markm@erights.org">
#        <param name=to value="markm@erights.org">
#        </applet>

But this is probably silly.  Should I drop "mailto:", or is there a
sensible answer?


>And if file:/tmp/foo.txt gets you a read capability on a
>file, how do you write, append to, or create new files?

[#] It gives you a capability to do all of these.
You will be able to restrict this object to give out subsets of these
authorities, and you will e able to subset the authority of the uriGetter
named by "file:" so that it only gives out a subset of files and/or only
gives out limited authority over these files.  Programs operating in a
restricted environment (eventually, most programs) will typically not have
a "file:" in scope.