[whatwg] Drag-and-drop folders/files support with directory structure using DirectoryEntry

Simon Pieters simonp at opera.com
Fri Sep 14 00:35:17 PDT 2012

On Thu, 13 Sep 2012 23:58:42 +0200, Ian Hickson <ian at hixie.ch> wrote:

> However, both exposing the hiearchy and flattening it have all kinds of
> risks. It's possible for the user to accidentally expose his entire
> computer's hard drive without realising it. On some systems (including at
> least modern Mac OS and Linux OSes, not sure about Windows), it's  
> possible
> to have hard-link loops. On some systems, it's possible to drag special
> directories like "..", and it's not clear what that would mean. When the
> user drags files from multiple parts of the file system (e.g. from a
> Windows virtual folder), it's not clear what parts of the path we should
> expose -- even exposing just the common parts can expose sensitive
> information like the profile path if one file is in the user's profile  
> and
> another is not.

For the record, these are blocking concerns for Opera.

Simon Pieters
Opera Software

More information about the whatwg mailing list