Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: Protect images directory

    Is your site online? Can you provide me a url?
    jund

  2. #2
    Join Date
    Nov 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Protect images directory


  3. #3
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: Protect images directory

    I see your images... NO red Xs.
    Which images are showing up as red Xs?
    Which browser are you using?

    jund
    Last edited by jund; 2 Sep 2007 at 01:24 AM. Reason: Forgot a question

  4. #4
    Join Date
    Nov 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Protect images directory

    They all show up as red X's ONLY when i change the image directory to 644, it is now on 777 thats why there are no Xs showing.

    this is where the problem is, 777 is not safe to keep, yet images show on the website as they are supposed to but when i try to use secure permissions (644) i get red Xs.

  5. #5
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: Protect images directory

    Quote Originally Posted by underworldmagic View Post
    They all show up as red X's ONLY when i change the image directory to 644, it is now on 777 thats why there are no Xs showing.

    this is where the problem is, 777 is not safe to keep, yet images show on the website as they are supposed to but when i try to use secure permissions (644) i get red Xs.
    Let's regroup... I do not really understand something. Please try to answer a few questions...
    What are you trying to protect the images from? What I mean is, are you trying to prevent someone from downloading your images? Or are you trying to prevent someone from copying your images? If a person can view your image, they can copy it, print screen it, but they cannot modify it if they do not have file access (like you do). That is why I suggested you use 770 and the index.html file.
    Please help me to better understand what it is you are trying to do.
    Respectfully,
    jund

  6. #6
    Join Date
    Nov 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Protect images directory

    thanks for your reply,

    i have been following this guide by zencart for recommendations on how to secure your website from hacks

    https://www.zen-cart.com/tutorials/index.php?article=73

    if you go down to the "9. Protect your "images" and other folders" it tells you instructions to change the images folder from 777 to 644, thats the only reason why i wanted to change the permissions; because zencart recommends it.

    i hope you understand what, and why i want to achieve this.

    Thanks again for your continued help

  7. #7
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Protect images directory

    655 will work and still prevents others from writing to it.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  8. #8
    Join Date
    Sep 2006
    Location
    Ruckersville, VA, USA
    Posts
    286
    Plugin Contributions
    0

    Default Re: Protect images directory

    Quote Originally Posted by underworldmagic View Post
    thanks for your reply,

    i have been following this guide by zencart for recommendations on how to secure your website from hacks

    https://www.zen-cart.com/tutorials/index.php?article=73

    if you go down to the "9. Protect your "images" and other folders" it tells you instructions to change the images folder from 777 to 644, thats the only reason why i wanted to change the permissions; because zencart recommends it.

    i hope you understand what, and why i want to achieve this.

    Thanks again for your continued help
    The article is correct - if you read further...

    Continue to read and you will see this:
    File/Folder permissions settings

    On Linux/Unix hosts, generally, permission-setting recommendations for basic security are:
    • folders/directories: 755
    • files: 644
    Did you not state you were using Linux/Unix?

    I am including an upload of a permissions set-up on my site... note what the permissions do - and everyone has tried to help you understand that too...
    Attached Images Attached Images  

 

 

Similar Threads

  1. Copy protect copyrighted images
    By LinDAvid in forum General Questions
    Replies: 11
    Last Post: 8 Jul 2008, 02:25 PM
  2. Password protect a directory?
    By thesoapycauldron in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2008, 03:41 AM
  3. Copy Protect images
    By [email protected] in forum Basic Configuration
    Replies: 2
    Last Post: 6 Nov 2006, 10:41 AM

Posting Permissions

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