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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.