Well, it is possible, but it isn't easy.
It can be done using an http handler. It is possible to build a construction
that checks if the request is generated from your HTML (using
servervariables["referrer"]) .
If you make sure your httphandler handles gif and jpg, all gif's and jpg's
can only be seen from HTML, deeplinking (if the httphandler is constructed
correctly) will show an error, a generic image or anything you want. It is
even possible to write a copyright notice in the image (system.drawing
namespace)...
If you google, you probably will find good coding examples
"jasonkester" wrote:
You can't. There is simply no way to hide your HTML, Javascript,
images, css, or anything else you send to the client. The client has
to download it all, and it will almost certainly get cached somewhere.
It's part of the price you pay for deploying your application on the
web.
Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/