Jetfire Handler¶
There is a specific requirement where Webmasters want to stop users from downloading certain files from their website. Examples include:
- Websites that display high quality photos for sale. The Webmaster wants to stop users from right-clicking and saving the image who do not pay for the image.
- Zip files that contain a software download. The Webmaster wants to track who is downloading files from the website.
The Jetfire Handler is a simple solution for this requirement.
The Jetfire Handler is code in the TrackerRealm software release. It works in conjunction with the web.config file. e.g. to stop non-logged in users from accessing files, such as jpg files, the following code snippet is added to the web.config file. If the user is logged into Jetfire, then the file can be downloaded.
<httpHandlers>
<add verb="*" path="*.jpg" type="TrackerRealm.Jetfire.WebParts.JetfireHandler, TrackerRealm.Jetfire.WebParts"/>
</httpHandlers>