educational

Protecting Your Content

I believe that if someone pulls an image off of your server, plants it on his, and then displays it, that he is breaking the law. But if a user posts the URL to your image in a chat room, USENET Group or BBS of some sort, it is the webmaster of the content that is at fault.

You are in control of how your content is displayed. If it is being abused it is your fault. New webmasters often threaten legal action over this form of piracy, but if you leave the bank vault door open, don't be surprised if all of your money is gone in the morning.

On most http servers there is a way to prevent serving your content to off-site URLs, for example, posting my.site.com/dirtypic.jpg to chatroomxxx.com/sexychat.html. You can stop this by reading your web server docs. If it's your ISP's web server it's that much easier to tell him what to do. If it's your own web server, then you must do something about the situation yourself.

In order to protect your content from hot-linking under Apache, you first need to have mod_rewrite enabled (either compiled in, or linked dynamically), and then you need to add the following to your .htaccess file:

[CODE] RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https://.*(chatropolis.com|interfun.net|XXX.XX.XXX.XX).*$ [NC] RewriteRule .*.(gif|jpg|GIF|JPG)$ /images/can_not_display_image.jpg [/CODE]

This is what we do at Chatropolis to prevent users of our service from stealing our bandwidth. The surfer will have to be reading the actual page on our site to see the image, or they will get a nasty image informing them of the theft.

Here is an explanation of the cryptic lines in the config code above: The first line turns on the rewriting for this config. The second and third lines specify conditions under which the rule will match – in this case if the referrer isn't blank and doesn't contain "chatropolis.com", "interfun.net", or "XXX.XX.XXXX.XX" (case insensitive because of [NC]). The last line specifies a regexp to do the actual rewriting. In this case, any URL with gif or jpg gets rewritten to read /images/can_not_display_image.jpg.

I assume that if you are not using Apache that the process should be somewhat similar for your server. If it is impossible to do with your server, then it's time to think about changing servers – at least if you plan on staying in any type of web site-based business for long.

For a UNIX pro, implementing this protection takes a few minutes. For a novice, it might take a few hours of getting to know your server, but when finished, you will have fixed a potential problem forever, and there is something about knowing it's fixed forever that will make you sleep better.

Alternatively, many webmasters put a small unobtrusive image stamp on their content, and get literally 1000's of dollars of advertising for free. A webmaster that does this has even reported that our users convert like crazy, and while I don't know how true that is, the free advertising can't hurt.

The moral of the story is that you're responsible for your content, and once you hear that horrible word "Retainer" from your lawyer, spending a little amount of time to improve content security will look a lot more attractive. So if you don't want to leave the vault open, take my advice and close it yourself, or take advantage of the advertising. The worst thing that you could do is nothing, because on top of losing money, you will not make any extra from the hard work of unscrupulous users.

This article was written with the technical help of Pedro Margate our Sysad at Chatropolis.com. You can check out Pedro at www.terrapodsoftware.com.

Copyright © 2024 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

The Search for Perfection in Your Payments Page

There has been a lot of talk about changes to cross sales and checkout pages. You have likely noticed that acquirers are now actively pushing back on allowing merchants to offer a negative option, upsell or any cross sales on payment pages.

Cathy Beardsley ·
opinion

Brittney Kade Talks Big 'Career-First' for Adult Time

Brittney Kade’s first gangbang originated as an Adult Time “Director Showcase,” a creative opportunity the production team offered to Jim Powers, one of the studio’s regular producers.

Alejandro Freixes ·
opinion

Unpacking the Payment Card Industry's Latest Data Security Standard

The Payment Card Industry Data Security Standard (PCI DSS) is a set of requirements and guidelines that apply to all businesses that accept credit card payments, and is designed to ensure the security of those transactions.

Jonathan Corona ·
opinion

Compliance With State Age Verification Laws

During the past year, website operators have faced a slew of new state age verification laws entailing a variety of inconsistent compliance obligations.

Lawrence Walters ·
opinion

Merchants in Spotlight With Visa's VIRP

By now, most merchants know about the Visa Integrity Risk Program (VIRP) rolled out in spring 2023. The program is designed to ensure that acquirers and their designated agents — payment facilitators, independent sales organizations and wallets — maintain proper controls and oversight to prevent illegal transactions from entering the Visa payment system.

Cathy Beardsley ·
opinion

How to Know When Hosting Upgrades Are Really Needed

I was reminded about an annoyingly common experience that often frustrates website owners: upgrades. Sometimes, an upgrade of physical system resources like CPU, RAM or storage really is required to solve a problem or improve performance… but how do you know you’re not just being upsold?

Brad Mitchell ·
opinion

On the Set: Welcome to Adult Time's 'Futa World'

Dressed revealingly in a yellow waitress uniform, Lauren Phillips greets eager customers Hailey Rose and Chloe Surreal. On a sign announcing the grand opening of “Dick’s Diner,” the apostrophe between letters k and s bears a striking resemblance to an ejaculating penis.

Alejandro Freixes ·
profile

WIA Profile: Natasha Inamorata

Natasha Inamorata was just a kid when she first picked up a disposable camera. She quickly became enamored with it and continued to shoot with whatever equipment she could afford. In her teens, she saved enough money to purchase a digital Canon ELPH, began taking portraits of her friends, shot an entire wedding on a point-and-shoot camera and edited the photos with Picnik.

Women in Adult ·
trends

Collab Nation: Top Creators Share Best Practices for Fruitful Co-Shoots

One of the fastest ways for creators to gain new subscribers and buyers, not to mention monetize their existing fan base, is to collaborate with other creators. The extra star power can multiply potential earnings, broaden brand reach and boost a creator’s reputation in the community.

Alejandro Freixes ·
opinion

Bridging Generational Divides in Payment Preferences

While Baby Boomers and Gen Xers tend to be most comfortable with the traditional payment methods to which they are accustomed, like cash and credit cards, the younger cohorts — Millennials and Gen Z — have veered sharply toward digital-first payment solutions.

Jonathan Corona ·
Show More