Testing access restrictions

Help me out, please?

I’m having a little problem with people on Xanga stealing bandwidth from my servers.  They’re using my photos and music streams in their blogs, by direct-linking them from my server.  The result is that people viewing their blogs think that the photo/music is actually a part of their blog, when in fact it’s coming directly from my server.

To combat this, I’ve set up some access restrictions on my photos and MP3 downloads, and I’ve taken all mp3 streams offline -- hopefully only temporarily.  But I want to make sure that people who are actually on my website can still access my content.

So if you would:

1) Go to the music page and scroll down to either the Christian bands section, or the Non-Christian bands section, and click on a few of the download links.  Once they download, play them to make sure you got them OK.

2) Go to the photos page and click on one of the photo sets; once it loads, click on a few of the thumbnails and make sure that the larger images show up for you.  Finally, click on one of the larger images, to get the full-size (really huge) image, to make sure that loads ok (though it’ll be really slow).

If you’ve got a few minutes to try those things, post a reply here and let me know if they worked for you.  Thanks a bunch.

(PS - for the curious, if you’re using Apache (and you ought to be ashamed if you’re using any other web server), it’s easy to set up access restrictions for a single website.  Just put this into an htaccess file in your webserver’s root directory:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com/.*$
RewriteRule .* not-so-fast.htm

Then just make sure that you have either Options FollowSymLinks or Options SymLinksIfOwnerMatch inside the <Directory /serverroot></Directory> section in your httpd.conf file.  This will detect any requests for pages coming from somewhere other than mysite.com, and redirect such requests to not-so-fast.htm, in which you can explain the deal.)

Posted by Anthony on 4 replies

Comments:

01. Aug 1, 2003 at 4:38pm by taj:

everything is working fine! taj

02. Aug 2, 2003 at 3:20pm by Anthony:

Thanks, taj, for checking it out.

03. Aug 2, 2003 at 9:05pm by Matthew:

You’re all good, dude.

Hey - I found your thin perl script wrapping jpegtrans on google, but you broke your link to it: <http://nodivisions.com/photos/apps/lossless-rotation.htm>.

You’ve got some sweet photos in your favorites section! Nice!

04. Aug 2, 2003 at 9:48pm by Anthony:

Thanks Matthew!

Glad you like the photos.

The broken link is actually a broken Google link; their index is pointing to the .htm version of that page, but I recently changed it to a .php page.  The next time Google crawls my site (probably within a few weeks), they’ll update their index.  Sorry for the confusion.

Reply to this message here:

Your name
Email
Website (optional)
Subject

HomeCreate PostArchivesLoginCMS by Encodable ]