This isn't completely OT..
I have a picture site built in CGI that is so popular that a lot of people use their bots to surf through the pages and steal all the pics.
I am not much of a technical person and won't pretend to know much about anything, but the question is: can I SSI a perl script that can check IP addresses of each page caller and if two IPS with the first three octects (but a different final octect), block them from the site for 15 minutes?
AFAIK, two people with the same three IP octects being two unique people would be 1 in 1 million chances so I assume I can be rest assured it's someone's bought trying to scrape my pages.
Or can't I do this? Would I potentially be declining traffic from legit sources?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.