encrypt html source code

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
kwansan
Forum Members
Forum Members
Posts: 35
Joined: Mon Apr 17, 2006 7:13 am

encrypt html source code

Post by kwansan »

Hi,

This is pre-thought so my thoughts have some short comings  :).

Usually I do not encrypt html source codes due to some browser issues (if any).  However, there is a portion of my page I thought about encrypting.  Wanted to know if I generate encrypted code would I use it in the same manner as non encrypted html codes with cmsms or would I have to use {literal}{/literal} tags.  I could encrypt this portion and do php include with user defined tags.

Just a thought right now.  Wanted to know if anyone else had experiences with encrypted html and cmsms.  thanks !

Sincerely,
David
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: encrypt html source code

Post by Ted »

I'm assuming by encrypt, you mean obfuscate the html so that a machine can't screen scrape it?  Most of that kind of trickery uses a lot of javascript.  I would think that it would be your best bet to toss {literal} tags around it, since there is a very good chance that smarty will try to pick that up.

And if I'm totally off of the mark of what you're talking about, please let me know.  :)
cyberman

Re: encrypt html source code

Post by cyberman »

Haven't try it with current versions but in cmsms forge there's a module named CodeMangler which make it possible to scramble code.
Post Reply

Return to “CMSMS Core”