Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default 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

  2. #2

    Default 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

  3. #3

    Default 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

  4. #4

    Default 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

  5. #5

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139