how to 'lock' pages

Out of context: Reply #11

  • Started
  • Last post
  • 14 Responses
  • n_m0

    asit's been said, there really isn't a way to totally protect it, but just as an idea (this was to protect code rather than design)...

    i once sent a site to a client who i didn't really trust. i put a no-right click script on there. i then put my site into a frameset comprising of one frame (the site itself), so when you viewed source you just got the frameset code. then on the page itself, i put a check on there to make sure that it was part of my frameset. if it wasn't, it redirected them to my frameset. as a result, there was no way of viewing source on my site.

    of course they could create a link themseleves to the page, then 'save target as...', but i figured they were actually quite stupid when it came to the net (like most clients).

    just an idea.

View thread