Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Guilherme Magalhaes [MVP] #1
adminapi setDisabledCFFunction Problem
How I can call setDisabledCFFunction to disable CreateObject(com) or
CreateObject(Java)?
I'm calling sec.setDisabledCFFunction("#di*r#", "createobject(com)");
But I aways get "This function can not be added to the restricted
function
list"
Only CreateObject param works, but it don't disable com and java.
TIA!
adminObj = createObject("component","cfid*e.adminapi.administ rator");
adminObj.login("pass");
// Instantiate the data source object.
sec = createObject("component","cfid*e.adminapi.security ");
testes = sec.getDisabledCFFunctions("#d*ir#");
sec.setDisabledCFFunction("#di*r#", "createobject(com)");
<cfoutput>
<cfdump var="#testes#">
</cfoutput>
Guilherme Magalhaes [MVP] Guest
-
Could not find the ColdFusion ComponentCFIDE.adminapi.administrator
:confused; what is this?? I have just upgraded the server and when I try to access the administrator this is what I get: Could not find the... -
Using setDisabledCFFunction adminapi, MX 7
How I can call setDisabledCFFunction to disable CreateObject(com) or CreateObject(Java)? I'm calling sec.setDisabledCFFunction("#dir#",... -
adminapi cfc remote access
I would like to be able to configure the ColdFusion server from a remote server. I need to be able to call administrator.cfc, datasource.cfc,... -
adminapi security.cfm setDisabledCFFunction
How I can call setDisabledCFFunction to disable CreateObject(com) or CreateObject(Java)? I'm calling sec.setDisabledCFFunction("#dir#",... -
adminapi and j2ee packaging
I want to access the j2ee packaging area of the CF Administrator programatically so that we can automate the building of CFapps into .war files. I...



Reply With Quote

