Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Posts
    188
    Plugin Contributions
    0

    Default Security question

    In the ZC site security recommendations I saw the following:

    "/cache
    ..... The BEST security protection for this is to move it to a folder "above" the webroot (public_html or htdocs or www) area, so that it's not accessible via a browser. (Requires changes to DIR_FS_SQL_CACHE setting in configure.php files as well as Admin > Configuration > Sessions > Session Directory.)"


    I ran this by my host and got the following response....

    "You can move that folder to your home directory (the folder in which public_html lives). You wouldn't have an address(URL) for that directory once moved out of your web root, but you would have a filesystem path......... "

    Two questions come to mind:

    1. By doing what the host says am I placing /cache folder on the same level or "above" the webroot? It sounds like I'm "above" but just wanted to check my understanding with someone else who is familiar with ZC.....

    2. How many configure.php files need changing?

    Thanks for looking.....

    MM

  2. #2
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Security question

    1. Yes.
    2. Two
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2009
    Posts
    188
    Plugin Contributions
    0

    Default Re: Security question

    Yes to "above" or same level in question #1?

    Thanks

    MM

  4. #4
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Security question

    Your server probably has the following folder structure:

    /home/username/public_html

    The "webroot" in that example is the "public_html" part.

    So, if you move your cache folder to /home/username/cache then that puts the cache folder outside the webroot. Whether you want to be semantic and call it 'above' or 'beside' doesn't matter. In the "industry" being "outside" the webroot is also affectionately called "above" the webroot too.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2009
    Posts
    188
    Plugin Contributions
    0

    Default Re: Security question

    Ahh...I think I've got it now....

    Thanks for the help...

    MM

 

 

Similar Threads

  1. Security Question
    By tstanley in forum General Questions
    Replies: 4
    Last Post: 1 Nov 2010, 07:49 PM
  2. Security question
    By byoriginaldesign in forum General Questions
    Replies: 3
    Last Post: 1 Nov 2010, 05:01 PM
  3. Security question
    By gruntre69 in forum General Questions
    Replies: 1
    Last Post: 5 Dec 2006, 03:33 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