> Javascript is not designed to access local files , if that is possible > then there is now security in the in the internet.
The question isn't about the "internet" accessing local files, it's a webpage loaded from a file:///-URI-as-domain loading additional assets from the same filesystem-as-domain. While support varies, this is not considered a security risk because you have chosen to load the main page from your local drive. There's also the FileAPI which, with end-user approval, can read the bytes of local files even if the main page is loaded over the net. You don't need to upload-and-redownload the files to access their contents in this way. -- Sandy
