Jump to content

Viewing Source


sith717

Recommended Posts

Is there a PHP script. That when someone tries to view the source of a website, it will not let them. Or allow them to, but it will say "You are not allowed to view the source of this website."

 

Something like that.

 

The reason is because I have a very expensive template design and do not want anyone ripping it.

 

Or even looking at the source.

Link to comment
https://forums.phpfreaks.com/topic/119036-viewing-source/
Share on other sites

As cooldude pointed out, it's impossible with any technology to stop someone from looking at the source of your web page. You can stop people from right clicking (in internet explorer), but that doesn't stop viewsource:, disabled javascript, ctrl-u, or view -> page source... disabling right clicking really only serves to annoy people who aren't trying to view your source.

Link to comment
https://forums.phpfreaks.com/topic/119036-viewing-source/#findComment-612971
Share on other sites

http://www.iwebtool.com/html_encrypter

 

if you really want to...kinda stupid if you ask me...

 

Would work if the user base wasn't very tech savvy.  All it does is hex encode it though.

 

 

 

sith717, to put it bluntly, to be able to render something on the client side, the client must know what it is rendering, yes?  That would if I were like:

 

"Ok, I'm going to ask you a math question.  I can't tell you it though.  What's the answer?"

 

lol

Link to comment
https://forums.phpfreaks.com/topic/119036-viewing-source/#findComment-613118
Share on other sites

http://www.iwebtool.com/html_encrypter

 

if you really want to...kinda stupid if you ask me...

 

Would work if the user base wasn't very tech savvy.  All it does is hex encode it though.

 

 

 

sith717, to put it bluntly, to be able to render something on the client side, the client must know what it is rendering, yes?  That would if I were like:

 

"Ok, I'm going to ask you a math question.  I can't tell you it though.  What's the answer?"

 

lol

42...duh!

Link to comment
https://forums.phpfreaks.com/topic/119036-viewing-source/#findComment-613212
Share on other sites

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.