coldfusion.server.ServiceFactory get datasource names? cf10
59 views
Skip to first unread message
hofar...@houseoffusion.com
unread,
Aug 13, 2013, 2:04:40 PM8/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ColdFusion Technical Talk
They turned this off on one of our servers. we do not have access to cfadmin.
can any one think of a way to output the names of dsn's set up on a
server without having access to java objects?
any help would be appreciated!
-m
Detail Access to Java objects in the ColdFusion package has been
disabled by the administrator.
Message Permission denied for creating Java object:
coldfusion.server.ServiceFactory.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ColdFusion Technical Talk
Assume "they" are a hosting provider, and have a sandbox setup, you
probably do not have access for this either but maybe worth a try. Read the
neo-datasource.xml and parse that?
Byron Mann
Lead Engineer & Architect
HostMySite.com
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ColdFusion Technical Talk
just remember that anything you can do, so can every other customer on the
server, thus why access to the serviceFactory is not allowed on a shared
server.
Really createObject(java) should not be allowed either in a shared hosting
environment as this is a massive security risk, but so many apps need it
that it is impossible to disable it without crippling any site using a
framework.
If you want this level of access then you need your own server.