Read a local file

Posted by user246114 on Stack Overflow See other posts from Stack Overflow or by user246114
Published on 2010-04-03T06:25:17Z Indexed on 2010/04/03 6:33 UTC
Read the original article Hit count: 329

Filed under:

Hi,

Is there no way for javascript hosted on a webserver to read a file on a client's local machine? (this has obvious security risks). I guess I'm wondering if there's any access granting a user can do, like drag and dropping a file into the browser, or explicitly selecting a file from a popup to get around this?

I know flash 10 allows reading of a local file, just wondering if there were any method to do this in javascript.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript