File api

Ehsan Akhgari ehsan.akhgari at gmail.com
Wed Aug 27 17:52:30 UTC 2014


Reading a file that the user picks through an input type=file or by drag
and drop is already possible through the FileReader API: <
https://developer.mozilla.org/en-US/docs/Web/API/FileReader>

Does that help you?


On Wed, Aug 27, 2014 at 12:17 PM, Mikko Levanto <mikko.levanto at iki.fi>
wrote:

> Hello !
>
> One feature is either missing or poorly defined in web browsers: local
> files.
> Javascript applications should be able to read and write local files.
> However,
> they should not be able to damage user's file space, nor spy it.
>
> The security requirements are similar those of file upload and download
> facilities, so it would be reasonable to have similar (from user's point of
> view) interfaces for file input and output for javascript applications.
> The HTML/Javascript api should give an event with an opened file.
>
> Security requires that applications cannot access user's files by name.
>
> I'm going to develope an application where reading and writing files is
> essential, preferable with a browser that is also safe for other use.
>
> Mikko
>
>
>
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
>



-- 
Ehsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20140827/9b96fb30/attachment.html>


More information about the firefox-dev mailing list