Opening a file in local file system in javascript

Sorry, Abi, you’re out of luck–you can’t use JavaScript in a browser to open a file on the local file system. This is a security issue and makes perfect sense if you think about it; you wouldn’t want people writing scripts on their web sites that can access files on your local file system and possibly read data from them!

Leave a Comment