Please send
comments/questions to
michael@
teratech.com
Authentication
Authentication
Protected Header code
In your application.cfm or header.cfm to be included in every page.
<CFIF cgi.script_name contains "/intranet/">
<cfif left(CGI.REMOTE_ADDR,11) is not "123.456.789">
<cfif not isdefined("session.authorized")>
<CFLOCATION URL=”http://www.teratech.com/logon.cfm”>
<cfabort>
<cfelse>
<cfset session.authorized = TRUE>
</cfif>
</cfif>
Your protected links here </cfif>
Warning - spoofed IP numbers will get around this code
Previous slide
Next slide
Back to first slide
View graphic version
Home
|
Links
|
Articles
|
Past Meetings
|
Meeting Photos
|
Site Map
About MDCFUG
|
Join
|
Mailing List
|
Forums
|
Directions
|
Suggestions
|
Quotes
|
Newbie Tips
TOP
Copyright © 1997-2024, Maryland Cold Fusion User Group. All rights reserved.
< >