Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Sanboxing is listed as one of the many security features in html5 specification . Can someone explain what is meant by sandboxing? Does it relate to HTML only or to JavaScript also?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

Sandboxing means running an application in containment, seperate from outside applications. This way, the application is cut-off from anything that it may want to do something malicious to. Specifically in this context, your browser will try to sandbox the JS on a page to ensure it doesn't affect more than what it's supposed to.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.