Simple questions: Protecting HTML... |
Simple questions: Protecting HTML... |
Awesoft |
Oct 16 2008, 07:25 AM
Post
#1
|
Group: Members Posts: 1 Joined: 16-October 08 Member No.: 6,910 |
Hi,
1. How to protect a HTML file to avoid to run it from other URL? (then I would encrypt the HTML) 2. How to avoid to run the rest of HTML code if a URL/picture is not found? This post has been edited by Awesoft: Oct 16 2008, 07:30 AM |
Brian Chandler |
Oct 16 2008, 10:58 AM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
1. HTML does not "run". Therefore it is meaningless to try to "protect" it. (Hint: Here's a simple project for you. I give you a number - the number 57. Now I want you to "protect" the number 57 so no-one else can use it for anything.
2. HTML does not "run". You could check on the server that a URL/picture exists before sending the page - send an error message if it is missing. Or you can check in javascript on the client. Um, what's the point of this exercise? |
Darin McGrew |
Oct 16 2008, 12:26 PM
Post
#3
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
|
Lo-Fi Version | Time is now: 25th April 2024 - 05:15 AM |