You cannot stop people from downloading HTML unless you take the site entirely offline. Viewing a page requires the HTML to be downloaded and parsed by the browser.
There should be nothing of value in HTML anyway.
The server-side code, on the other hand, cannot be accessed by the client unless you have a security hole in your server configuration. But I don't think that's what you meant, is it?
|