Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
lemonyNickerz #1
CFC to DLL
Hi CF community.
I was wondering if there is a way to create a cf component and then
package/convert that compnent/cfc into a dll file
and register it on a server. I know how to make cfc's but I would like to
package the cfc object into a dll or com file
rather than a cfc file
The same way one would register a ASP component on a win server. Same
principal or concept.
I looked around on google but all I can find is 'how to make CFC's' but thats
about it.
Any suggestions would be gladly accpeted.
Thanks.
lemonyNickerz Guest
-
lemonyNickerz #2
Re: CFC to DLL
sorry all. this is a stoopid question now that Im reasoning it out.
I think the question should have read. . . is there a way to encrypt my CFC's
so that other people cant read the code inside yet still be in a palatable form
for the server to read?
I would like to make cfc's but I do not want other people to be able to open
the file and read the code inside.
lemonyNickerz Guest
-
Lance M #3
Re: CFC to DLL
There is a tool, cfencode.exe in your cfusion/bin directory that can be used to encrypt CF code. Beware that it is also pretty easy to find a tool to decrypt the code...
/L
Lance M Guest
-
lemonyNickerz #4
Re: CFC to DLL
Thanks for replying so soon Lance.
I managed to get my hands on one of these tools and it decrypts encoded cfc's.
Quite slick.
Looking on the net for alternatives or 3rd party software other than allaire n
co.
The tool Im using allows me to encrypt with a password which could be handy.
But need a another decrypter to test if the password actually helps.
lemonyNickerz Guest
-
DStanten #5
Re: CFC to DLL
Another thing you might want to check out, if you are on CFMX7, is the
cfcompile utility with the -deploy switch. Read all about it here:
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001762.htm[/url]. One can
still make out strings in the compiled bytecode - so you'll have to take a look
at what it produces and decide whether or not it obscures things enuf for you.
DStanten Guest



Reply With Quote

