I'm sorry, maybe I was too vague.
I have developed a page with hype3, as part of a course reserved for some users.
The site is developed in wordpress in a reserved pages managed with "optimizePress". Inside these pages insert, including it, the html files developed with "hype3".
The problem is created if the html file (developed with hype3) opened by itself, not from the page in which it was included.
For this reason I would need a script that when loading the scene, read the main page url. If correct, if it is the secure page, it's all right. If the main page is different from that protected, the user is sent to the registration page (or other).
Practically a redirection script, if the page is properly opened the next scene. If wrong, the main page switch to other.
I was able to be more clear?
Something like this:
if “main.self.location.href”= correctPage