And now my next installment in what has proved to be a lengthy thread.

Previously I had something like this in the Application.cfm of my MG
app, to prevent anyone from accessing any of the cfms other than
index.cfm

<cfsetting showDebugOutput="false" />
<cfsilent>
        <cfapplication name="app1" sessionmanagement="true"/>
        <cfif right(cgi.script_name, Len("index.cfm")) NEQ "index.cfm">
                <cflocation url="/app1/index.cfm" addtoken="no">
        </cfif>
</cfsilent>

I'm pretty sure I don't want to move this up to the index.cfm of my
"parent" app as I want to allow access to other cfm files there.

Should I try and rework this with the whole path (eg. to stop access
to anything other than index.cfm in the "app1" directory?).  Or is
there another strategy that is better?

Regards,
Andrew.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to