Jump to content

Hide html code from users


Gruzin

Recommended Posts

it's tough to know what to do without knowing what you're trying to hide, but here are a few ideas:

1. you _could_ put the secret parts in an attached javascript file that writes the HTML back to your document. then compress (obfuscate) the javascript file with something like packer.
http://dean.edwards.name/packer/
revealing source wouldn't show any of your code. Even if they have the wherewithall to view the javascript page separately, the compression would likely be too confusing to figure out.

2. you could use PHPs GDlib to embed the magic part of your page in an image -- so all they get is a big jpeg, which really doesn't have source to reveal.

3. use Macromedia (Adobe) Flash

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.