user255503 user255503 - 3 months ago 25x
PHP Question

How protect this link?

I want to hide HTML Code from source code, how this is possible?

For example:

file: "",
autostart: 'true',
controlbar: 'bottom',

file: "",
How can I hide the code?


You can't hide it, the best you could do is make it a little harder to figure it out. And this is just obscuring, it is NOT securing.

For the server side portion, you could change:

file: "",


file: window.atob('<?php echo base64_encode("");?>'),

and then the output will be:

    file: window.atob('aHR0cDovL2V4YW1wbGUuY29tL01lZGlhLm0zdTg='),

Just know, this won't stop anyone who really wants to figure it out. It will only stop someone who doesn't know anything about programming and is too lazy to spend five minutes on it.