This got trimmed the first time (I think).

What specifically are you trying to do?

I just created a new sandbox and restricted the CFObject tag using the
following code:

<!--- Connect to the Admin API and log in --->
<cfset adminObj =
createObject("component","cfide.adminapi.administrator").login("password") />

<!--- If logged in --->
<cfif adminObj>
       <!--- Connect to the security CFC --->
       <cfset myObj = createObject("component","cfide.adminapi.security") />

       <!--- Create Sandbox --->
      <cfset myObj.setSecuritySandbox("c:/andy")>

      <!--- Disable CFObject --->
      <cfset myObj.setDisabledCFTag("c:/andy","cfobject") />

      <!--- Return my new sandbox, which shows CFObject disabled --->
      <cfdump var="#myObj.getSecuritySandboxes("c:/andy")#">

Is this the sort of information you were after? The key to it is
putting the security.cfc through getMetaData()

Andy

-- 
[EMAIL PROTECTED]
www.creative-restraint.co.uk
www.scottishcfug.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218676
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to