1 Reply Latest reply on Sep 30, 2008 2:19 AM by BKBK

    Prevent Multiple Access

    Atolycus
      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.
        • 1. Re: Prevent Multiple Access
          BKBK Adobe Community Professional & MVP
          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