Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / June 2005



Tip: Looking for answers? Try searching our database.

Can I encrypt ColdFusion files?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PleaseHelp - 29 Jun 2005 23:33 GMT
Can I encrypt ColdFusion files?

I'd like to make a CF application with encrypted .CFM pages so purchasers
can't see the code.  The purchaser would put the files on their server -- a
server which supports ColdFusion applications -- and the files would work just
like normal CFM pages.  However, the code could not be seen or copied.

An alternative is that some of the pages would sit on my server, and the
purchaser could "include" them at appropriate places with CFINCLUDE.  But the
purchaser would never be able to see the contents of the included file, only
the CFINCLUDE tag.  If they tried to see the contents of the included file, it
would only be gibberish or an error message.  But their ColdFusion
Administrator could still read the includes.

(I've never been able to use CFINCLUDE with a file on a different site or
server, unless two domains are hosted in the same directory, i.e.,
C:\sites\user27\site15.com and C:\sites\user27\site16.com, where I can use ../
to tunnel under the domain barrier.  If there's a way to include really
"distant" files, please tell me!)

Are either of these approaches -- encrypted files and/or included remote files
-- possible?

Thanks!
*thirtysixsquares* - 30 Jun 2005 00:25 GMT
i don't know how but as a bit of encouragement, i do know that it can be done!
keep looking.try ben forta's WACK (web application construction kit) at the book store,
Bill - 30 Jun 2005 00:56 GMT
Try Google, I just came up with lots "encrypt coldfusion files"

I have Ben's latest WACK and there is nothing in it about how to encrypt. At
least not in the 75 % I've read so far.

Bill

> Can I encrypt ColdFusion files?
>
[quoted text clipped - 27 lines]
>
> Thanks!
MrEd - 30 Jun 2005 07:55 GMT
There used to be an executable that shipped with CF that would encrypt
templates so that no one could read them.  Of course it wasn't long before
someone cracked the encryption and created a web application where you decrypt
the files.  In CF7 it is possible to save your application as a java file (java
people correct me here) that is compiled so can't be viewed.  This is one of
the "new features".  Haven't played with it yet but I would like to.

---------------------------
"Who do you believe, me or your own two eyes" - Grocho Marx
Fernis - 30 Jun 2005 09:38 GMT
You can actually compile your .cfm files to Java bytecode individually with
CFMX 7. You don't need to "package" or "save" anything. Your .cfm files can be
located as they are now, but they're just pre-compiled to Java bytecode.
Neculai Macarie - 30 Jun 2005 09:58 GMT
> Can I encrypt ColdFusion files?
>
[quoted text clipped - 18 lines]
>  Are either of these approaches -- encrypted files and/or included remote files
> -- possible?

If you're on CF5 or CFMX 6.x you can use cfencode. On CFMX 7 you can use
sourceless deployment (cfcompile).

Signature

<mack />

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.