This is correct, browsers are restricted to local filesystem access by default otherwise anybody could run malicious scripts. A better way is to ask for some form of "user-input" so that user has to key-in the required info. Based on your requirements, you may have to explore alternatives. P.S. Abso...