June 2012
Intermediate to advanced
386 pages
10h 7m
English
A web browser is a complex piece of software, and JavaScript is a powerful scripting language. It is no surprise that the intersection between these elements will be far too complex. On the flip side, it offers potential security holes. However, there are certain precautions that the language itself tries to provide.
The window object allows a lot of control to the JavaScript programmer.
JavaScript cannot read files from the file server (except for cookies). Similarly, it cannot write any file into the file system (except through server-side programs). Likewise, it cannot execute any program in the file system.
This security policy applies to client-side scripting ...
Read now
Unlock full access