Have you considered using HTTP_REFERER? That way, if it does not come from
your calling page which contains your JS for the popup, then they can't get
in.
<CFIF HTTP_REFERER is not "http://www.mysite.com/referingpage.cfm">
YOU'RE BUSTED
<CFABORT>
</CFIF>
Dave
----- Original Message -----
From: "Robert Forsyth" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 9:32 AM
Subject: OT: Javascript
Sorry for the off topic question...
Does anyone now how to prevent someone from accessing a page that is
supposed to be shown only in a popup window. I.E. I use a video player that
is embedded in a popup window and I want to make sure that someone cannot
access the template directly in a full browser window.
Any help?
Robert Forsyth
Director of Web Operations
Irides, LLC
[EMAIL PROTECTED]
Phone: 202-364-7831
Fax: 202-364-2481
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists