OK, just another ignorant question from me...
How does IE limit the functionality of JavaScript embedded in a web page?
If I can write JavaScript on my computer and have it modify my registry, why can't I do the same with JavaScript in HTML? The basic answer, I guess, is 'security permissions'. But how exactly does that work?? What actually keeps embedded JavaScript from doing what non-embedded JavaScript can do? If I have "Active Scripting" enable on web pages, doesn't that give script free range? Why not?
Thank you.
Javascript vs. JavaScript...
Javascript running "in" a webpage is much different than javascript running on the local OS. Scripts that are embedded in an HTML doc run inside what is known as a "virtual sandbox". This sandbox is an arbitrary name given to the "zone" or security permissions of the usre's browser.
Active Scripting enabled allows scripts to be run in IE. This can further be modified by the security setting for each Security Zone in IE. (Internet Options\Security Tab\Custom Settings.
Running scripts of any kind on the local machine is not affected by IE settings. Any script can be run at anytime, unless there are restrictions placed on the machine. (policies in a NT based network)
Active Scripting enabled allows scripts to be run in IE. This can further be modified by the security setting for each Security Zone in IE. (Internet Options\Security Tab\Custom Settings.
Running scripts of any kind on the local machine is not affected by IE settings. Any script can be run at anytime, unless there are restrictions placed on the machine. (policies in a NT based network)
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
Well, the sandbox applies more to java than javascript, but the basic concept is the same, the browser security settings control what can and cannot be run from a webpage.
No one has any right to force data on you
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH
and command you to believe it or else.
If it is not true for you, it isn't true.
LRH