W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: input type= file problems

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 31 Jan 2003 03:50:32 -0500
Message-Id: <200301310850.DAA17707@nerd-xing.mit.edu>
To: mfmartin@med2.unex.es
cc: www-html@w3.org

> 	cause i want to send files to a server. But this not work, does anybody
> know why?

Because allowing untrusted JS to upload random files to the server is a giant
security/privacy hole. So any sane browser disallows setting the value of file
inputs via JS.

Boris
-- 
Conway's Law:
    In any organization there will always be one person
who knows what is going on.  This person must be fired.
Received on Friday, 31 January 2003 03:50:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT