Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    6
    Plugin Contributions
    0

    Default htaccess confusion

    Hi,

    I'm a little confused about the following section in the Zen Cart Security Recommendations Wiki:


    Folder Purposes

    The folders for which installation suggests read-write access for setup are these. If your site supports .htaccess protection, then you should use it for these folders.

    /cache
    This is used to cache session and database information. The BEST security protection for this is to move it to a folder "above" the public_html/htdocs/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.
    /images
    This is discussed earlier in this article.
    /includes/languages/english/html_includes
    This is discussed earlier in this article.
    /media
    This is only suggested read-write for the sake of being able to upload music-product media files via the admin. Could be done by FTP as an alternative.
    /pub
    This is used on Linux/Unix hosts to have downloadable products made available to customers via a secure delivery method which doesn't disclose the 'real' location of files/data on your server (so that people can't share a URL and have their friends steal downloads from your site)
    /admin/backups
    This is used by automated backup routines to store database backups. Optional.
    /admin/images/graphs
    This is used by the Admin > Tools > Banner Manager for updating/displaying bar graphs related to banner usage. If not writable, this feature is ignored.
    If I am running V151 do I need to generate additional .htaccess files for these folders and if so, what should they contain please?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: htaccess confusion

    If you installed from a distribution on a linux server - then all files are where they belong
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: htaccess confusion

    Thank you very much for help!

 

 

Similar Threads

  1. Sidebox Confusion
    By adiamond in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Feb 2011, 08:35 AM
  2. Currency Confusion
    By mpforum in forum Customization from the Admin
    Replies: 1
    Last Post: 27 Dec 2009, 04:20 AM
  3. >? confusion
    By shandebar in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Feb 2009, 07:11 PM
  4. Attribute Confusion
    By scottb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Nov 2006, 12:01 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