Restrict Access to a JavaScript Application Embedded via an iframe | 8 Hobbies JavaScript Blog

One common way to embed a JavaScript application in a web page is using iframe. Assuming the application is accessible from and the embedding page is, the embedding code in the embedding page would look like this:

This is a companion discussion topic for the original entry at