Re: File writing ponderings (was: Re: Security evaluation of an example DAP policy)

On Sat, Nov 21, 2009 at 12:26 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> Hmm.. This is a very interesting idea. Definitely worth exploring more.
>
> What I had in mind was basically something like this:
>
> 1. An API for creating File objects by concatinating strings, Blobs,
> ByteArrays (or whatever they'll be called, see Maciejs proposals to
> public-webapps and public-script-coord). A mimetype and a default name
> (possibly without extension) would also be assigned to the File in
> some fashion.
> 2. A API that given a File object brings up the normal "Safe File As" dialog.

FWIW, this is what I had in mind, too, back when I used to think about
such things.

- a

Received on Saturday, 21 November 2009 08:32:26 UTC