Global environment
Javascript
Article REF: H3120 V1
Global environment
Javascript

Author : Christian Queinnec

Publication date: February 10, 2017

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

5. Global environment

So far, we've covered Javascript's key words, a few essential functions and the notions of scope and environment. What is the global environment and what does it contain? The answer depends on the particular implementation of Javascript.

In a browser, Javascript runs in a restricted context for security reasons. Indeed, allowing Javascript in your browser means allowing code written from who knows where to run in your browser and therefore on your machine. We can no longer cite the attacks where such code could steal sensitive files, send spam, inspect a company's internal network or spy on other Javascript code in order to find bank card numbers or passwords. Browsers have gone to great lengths to limit these risks and, as a result, provide feature-restricted libraries: it is thus not possible for a Javascript program running in a browser to read the user's hard...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details