Jump to content

is there a way to hide html code so doesnt get "viewed" or downloaded from brows


mac007

Recommended Posts

hello, all:

 

I design web pages and was wandering if there is a way so that one can show a design or a web-page, but the html code (or all respective image files, css, etc) can't be viewed or downlaoded from a browser??  I thought maybe thru php one could do that. I believe one can per example have images appear on browser but have it parsed thru php in a way that they couldn't be dragged-copied, or copy pasted into desktop or other application from a browser...

 

In other words, be able to protect content.

 

Thanks, appreciate any feedback!

 

Apparently, your understanding of the internet isn't quite up to par.

 

If stuff couldn't be downloaded to a user's computer, it couldn't get into their temp internet files and their browser would never be able to show anything.

 

If you want to keep stuff 'protected', never put it on the internet.

 

If I can see it, I can copy it.

well, not sure if I  made myself clear... or maybe it's not possible, but per example, in Flash you can have a page "setup" so that nothing can be copy-pasted (even simple text), and one cant have access to the actual workings of the original code of the flash file, which is great, cause people cant really 'steal' it.

 

In a somewhat different manner, php itself does same thing, it does all this stuff behind the scenes where user never sees actual code, since it never makes it into their browser, making it virtually impossible for code to be stolen from within the browser. And, if I am not mistaken, images shown on a page can be made harder to be copied from browser by being parsed in a certain way thru php...

 

So that was simply my question... if there was a way to parse html in a certain way thru php so that it would be made impossible to have code "viewed" in a browser (or downloaded for that matter).

 

Maybe there just isnt a way...?

 

So that was simply my question... if there was a way to parse html in a certain way thru php so that it would be made impossible to have code "viewed" in a browser (or downloaded for that matter).

 

The server php code is parsed into html which is downloaded to the browser's interpreter and displayed as rendered html code.  Nobody ever sees the actual php that generated the html, so the "code" is never seen in the browser. Is that halfway to the answer you wanted?

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.