Accessories>Encode your Source code before Distribution
Introduction Installation Beginning Admin Quick Ref FTP Server SMTP Server Database Security
Statements Objects String Parsing Events Queues Samples Special names Error Handling Accessories   Back
Caravan Business Server>Help>Accessories>Encode your Source code before Distribution
Syntax encode filename(s) output filename
Text When you distribute your applications to the end users, your code can be exposed and tampered with. As a developer you would like to avoid this. Caravan Business provides an encoder/encrypter (encode.exe), which can be used to encode your code files. At run time Caravan automatically decodes these files. Note file name must have .html extension and the output file name .cch. Once compiled you need to place only the cch file inside the template directory. You can compile single file or multiple files into cch files and distribute.
Sample Single file
encode c:\caravan\template\test.html  c:\caravan\template\test.cch

Multiple files
encode c:\caravan\template\*.html  c:\caravan\template\source.cch
Quick Reference
Home       Back