Subject:
|
Re: Cracking down on unauthorized image links
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Thu, 3 Jun 1999 05:12:33 GMT
|
Viewed:
|
940 times
|
| |
| |
In lugnet.admin.general, lehman@javanet.com (Todd Lehman) writes:
> [...]
> The robust, long-term solution is to serve the JPEG images selectively to
> on-site pages and reject them to off-site pages, using an Apache webserver
> module called "mod_rewrite" and looking at the HTTP referrer field on-the-
> fly; or invoking a CGI script whenever an image is requested, and optionally
> doing more advanced filtering.
OK, this evening I just wrote a little CGI script to do this for images in
the sets-DB. So, the dynamically generated HTML pages, i.e.
http://www.lugnet.com/pause/search/?query=8880-1
now link to this CGI script -- which acts as a buffer -- rather than to the
raw JPEG image file. Thus, the URLs it now uses look like:
http://www.lugnet.com/img.cgi?pause/technic/tech8880.jpg
instead of:
http://www.lugnet.com/pause/pix/technic/tech8880.jpg
> The less-robust, short-term solution is simply to rename the image
> directories, thus breaking all of the bad links. This would certainly stop
> the problem, but doing that is like mowing over a weed rather than digging
> it up by the roots -- the problem will come right back to full intensity in
> a couple weeks.
> [...]
For backward compatibility (for a very short time -- maybe a few days or a
week or two), the old image directory will stay in place at its current
location -- so that the old direct-image links will continue to work (for
now). This gives a transition period while auctions close and old links
fade out, while still making it very difficult for anyone to add any new
unauthorized image links.
I'll leave the old directory at its current location for as long as I can
stand it -- then I'll rename it, moving it to a location outside of the web
server's area of access but still inside of the the CGI script's area of
access. This will then finally break any remaining unauthorized links.
Whew. :-p
--Todd
|
|
Message has 2 Replies: | | Re: Cracking down on unauthorized image links
|
| (...) Todd - Instead of frustrating both the image pirates and their prospective customers, why not turn this situation to your advantage? Suppose that each time an HTTP request is made for an unauthorized image, you serve up a substitute image (...) (25 years ago, 4-Jun-99, to lugnet.admin.general)
| | | Re: Cracking down on unauthorized image links
|
| (...) OK, this occurred today. At one point earlier today, there were three different eBay auctions, each of which accounting for more than 100 accesses per day of various set images (6988, 4011, etc.). Since the first changepoint, the outgoing (...) (25 years ago, 7-Jun-99, to lugnet.admin.general)
|
Message is in Reply To:
41 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|