Intermediate Web Publishing

JavaScript Security

JavaScript 1.0 code

can

can't

create html as page is loaded
perform actions based on "events"
modify (some) properties of current doc
create new windows

read and write files on disk
run other processes
access browser preferences
control browser email, news windows
change current browser window size

Many JavaScript actions that might be potentially harmful generate a JavaScript alert:


[up] [next]JavaScript versions