Results 1 to 6 of 6

Thread: Image Converyor Belt - secured?

  1. #1
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Converyor Belt - secured?

    I have tried several of the popular image protection methods, but all of them seem to break the conveyor belt. If i can get this one locked i have another slideshow that uses a different JS that also needs to be locked down.

    This site is for a photographer, so he is very concerned about the security of his images, and not satisfied by just watermarking.

    I have modified the script to grab the contents of a folder and populate the script with the image names.

    Here is a link to the site.
    http://www.photosbymk.com

    I hope someone can help me out here.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The photographer's images are protected by copyright. No other protection is needed or possible unless you are willing to use low quality and/or watermarked images only for live presentations.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    unfortunatly the customer wants some kind of server side image protection. I have told the client the same thing you said. But is not satisfied. And i really dont want to convert the slideshows to flash, due to their dynamic nature.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I have told the client the same thing you said. But is not satisfied.
    Ask him who's meant to be the expert here.

    You say server-side image protection. You could always use PHP to construct something like the following:
    Code:
    <?php
    // imggate.php
      if($_GET['pass'] == 'puff_the_magic_dragon' && strpos($_GET['file'], "..") === false) readfile($_GET['file']);
      else die("Stop trying to steal my images.");
    ?>
    Then call the images as, for example, instead of "door.jpg", "imggate.php?pass=puff_the_magic_dragon&file=door%2ejpg". It doesn't actually offer any real protection, of course, but it doesn't hinder innocent users either, and you can show your client what happens if someone tries to access the image without the password. Depends if he's as clueless as he is arrogant.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Only issue with using PHP, is im already executing ColdFusion code on the page.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That's a totally seperate page. It doesn't matter what you're using on the page with the conveyor belt script.

    Actually, there's a bug in the above. Try this instead:
    Code:
    <?php
    // imggate.php
      if($_GET['pass'] == 'puff_the_magic_dragon' && strpos($_GET['file'], "..") === false && file_exists($_GET['file'])) {
        header('Content-Type: ' . mime_content_type($_GET['file']));
        readfile($_GET['file']);
      }
      else die("Stop trying to steal my images.");
    ?>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •