Posts Tagged ‘page encryption’

Why You Can’t Block “View Source”

Friday, November 23rd, 2007

I am continually finding forum posts where web newbies are asking how to stop people from being able to view the source of their web page. The answer of course is don’t put it on the web.

Any web page that is on the web no matter how you have encrytped in order to try to “protect” the source needs to be decrypted by the web browser in order to be able to display the web page. There are at least a dozen different ways that your visitors can access the source of your web page including the version of the source after their browser has decrypted it. It is possible to block some of these ways of accessing the source but some of them can’t be blocked.

As there is always at least one way to access the source of any web page regardless of what blocks you apply, it is pointless even trying to block people from accessing your source. Not only are you trying to lock the barn door after the horse has already escaped but the barn doesn’t have any walls.

Read More