Skip to main content
Participant
September 30, 2008
Question

Prevent Multiple Access

  • September 30, 2008
  • 1 reply
  • 271 views
I dont really know how to explain this but I'll just put the scenario in
I have an application hosted in 192.168.1.7 and another in 192.168.1.6. Both of them have their own login structure.

Right now, 192.168.1.7/Website has an iframe that contains 192.168.1.6/Website/LoggedIn. Is there a way to prevent the user from directly accessing 192.168.1.6/Website/LoggedIn without going through the IFrame.
This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
September 30, 2008
You could do a question-and-answer, like this

192.168.1.7/Website
================
<!--- Security code known only to current page --->
<cfset securityCode="abracadabra">
<cfoutput>
<iframe src="iFrame_test2.cfm?securityCode=#securityCode#">
</iframe>
</cfoutput>

192.168.1.6/Website/LoggedIn
=======================
<!--- Abort mission if security code not confirmed --->
<cfif NOT (isDefined("url.securityCode") and url.securityCode is "abracadabra")>
<cfabort>
</cfif>
content of embedded page