Expiring HTML Code
You can expire the HTML code, so that when a user views the source code it
will not appear. If the user is very savvy, or a hacker, he can retrieve
the code with a key stroke (I think: Alt-R.)
I've seen the following code expire HTML content. This code does not
work at this site. I think the web server must enable the option.
<meta http-equiv="expires" content="Thu, 01-Jan-1970 00:00:01 GMT">
CONTENT="Mon, 01 Jan 1996 01:01:01 GMT">
Enabling Content Expiration on the Web Server
(I'm still having problems on my local Win NT server running IIS with content
expiration enabled. I'll share what knowledge I have until I find the
IIS (Microsoft Internet Information Server) - NT 4.0 Server w/Option Pack 4
- On the WinNT 4.0 Server that is running IIS (Option Pack 4): Start,
Programs, Windows NT 4.0 Option Pack, Microsoft Internet Information Server,
Internet Service Manager.
- Within the browser, now go to the web server you want to enable content
- Next, choose the Web Site.
- With the Web Site highlighted (single click), right click and choose
- Under the tab "HTTP Headers" click on the option:
"Enable Content Expiration".
- Expire Immediately
- Expire After <your value> (min, hrs, or days)
- Expire on: <you give a date>