Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler v4.3.3

    there is already an htaccess file in the bmz_cache folder

    Quote Originally Posted by cefyn View Post
    I am using zen cart 1.5.1 and have become concerned about the number of hacking attempts that I see in the server error logs.I am making an effort to beef up site security and believe the images folders are vulnerable.
    Image Handler4 seems to need permissions of 755 on folders in the bmz_cache and 666 on image files within the cache in order to work properly.If I protect the bmz_cache folder with htaccess is that going to be hack resistant ?
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #2
    Join Date
    May 2007
    Posts
    84
    Plugin Contributions
    1

    Default Re: Image Handler v4.3.3

    Quote Originally Posted by DivaVocals View Post
    there is already an htaccess file in the bmz_cache folder
    Ha,yes,well,you were a bit ahead of me there then,ahem,obviously.What I am finding hard to believe is that .htaccess can protect a folder from unauthorised users even if the permissions on it and the files and folders in it are 777.I'm testing this,and it seems to be the case.Or am I missing something? And if I am, please tell me what it is.

  3. #3
    Join Date
    May 2007
    Posts
    84
    Plugin Contributions
    1

    Default Re: Image Handler v4.3.3

    Sorry,it's an impossible question to answer.Too many ifs and buts .It will prevent browser access by anyone,but is only safe if you're on a dedicated server secured against unauthorised sshd and sftp access.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler v4.3.3

    Quote Originally Posted by cefyn View Post
    Ha,yes,well,you were a bit ahead of me there then,ahem,obviously.What I am finding hard to believe is that .htaccess can protect a folder from unauthorised users even if the permissions on it and the files and folders in it are 777.I'm testing this,and it seems to be the case.Or am I missing something? And if I am, please tell me what it is.
    Quote Originally Posted by cefyn View Post
    Sorry,it's an impossible question to answer.Too many ifs and buts .It will prevent browser access by anyone,but is only safe if you're on a dedicated server secured against unauthorised sshd and sftp access.
    You REALLY should start a new thread to discuss this.. Your general question is only moderately related to IH4.. You could apply the same question to the default images folder as well.. If you REALLY are concerned about security and .htaccess, start a new thread..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    May 2007
    Posts
    84
    Plugin Contributions
    1

    Default Re: Image Handler v4.3.3

    Sorry ,I was a bit freaked by a couple of bruteforce password attacks and didn't ask a coherent question.The main images folder is ok with normal permissions.If I have 644 on files in the bmz_cache I keep getting errors - failed to open bmz cache for writing,permission denied in lines 645 and 655 in bmz_image_handler.class.php.It runs without errors with world write permissions.Is there something I should correct,or is that as it should be?
    Last edited by cefyn; 13 Mar 2014 at 07:23 PM. Reason: cut and paste mistake

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Image Handler v4.3.3

    Quote Originally Posted by cefyn View Post
    Sorry ,I was a bit freaked by a couple of bruteforce password attacks and didn't ask a coherent question.The main images folder is ok with normal permissions.If I have 644 on files in the bmz_cache I keep getting errors - failed to open bmz cache for writing,permission denied in lines 645 and 655 in bmz_image_handler.class.php.It runs without errors with world write permissions.Is there something I should correct,or is that as it should be?
    Sounds like your hosting provider may be running PHP using the web server's account (instead of an account created specifically for your website). In this case the web server's account must have write permission to the bmz_cache folder (as well as the Zen Cart image, cache, log, and other folders).

    You can contact your hosting provider for more details on what permissions will be necessary (as they depend upon the server configuration). No further response to your questions about "security" and changing "permissions" will be answered by me in this thread. If your hosting provider is unable to assist you, you can start a new thread... But your hosting provider is the only one with all the relevant information on how their servers are configured.

    To start a new thread click the large "Post New Thread" button (probably in the General Forum or the Installing on Linux Forum).
    Last edited by lhungil; 13 Mar 2014 at 07:55 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  7. #7
    Join Date
    May 2007
    Posts
    84
    Plugin Contributions
    1

    Default Re: Image Handler v4.3.3

    Thank you for your patience,and your kindness in providing such a comprehensive answer.

    Solved.

 

 

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 749
    Last Post: 20 May 2026, 03:47 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 14 Dec 2025, 12:55 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

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