Results 1 to 3 of 3

Multiple OSCommerce file manager problem

This is a discussion on Multiple OSCommerce file manager problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi again, I have posted on OSCommerce.com about this, but have received no solutions to this one yet, so hope ...

      
  1. #1
    Lurker
    Join Date
    Jun 2003
    Posts
    4
    Rep Power
    0


    Default Multiple OSCommerce file manager problem

    Hi again,
    I have posted on OSCommerce.com about this, but have received no solutions to this one yet, so hope someone here can help.
    I have a minor problem here (at least I think so) - I have installed a demo store directly from the 2.2MS1 download - perfect, no problems, located on my server in:

    /Library/WebServer/WebSites/domain.com/shop/demoshop

    I installed a second OSC at:

    /Library/WebServer/WebSites/domain.com/shop/shop1

    When I go into the admin & then into the file manager, I can navigate up out of the /shop1 directory & then into /demoshop - this is a security issue & I wonder if I can prevent this happening in any other way than installing to /Library/WebServer/WebSites/domain.com/shop1

    Any help is really appreciated - for your info, I want both stores to have completely separate databases, directories etc..., so one store doesn't see another. thanks again.

  2. #2
    Lurker
    Join Date
    Jun 2003
    Posts
    4
    Rep Power
    0


    Default Problem solved

    Hi again,
    After being unable to find a cure from advice given or searched for, I found the solution to this problem - it's as simple as setting the documentroot as the directory in which you serve your documents for OSC from. After doing this, I saw no directories listed above the OSC store directory - a good thing.

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Where are you setting this? In the configure.php? If done there, it would be easy for a user to simply change the doc root to higher up the tree.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. File Manager error
    By FlipC in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-02-2004, 11:22 AM
  2. File Manager Issues
    By nightwind in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 01-02-2004, 11:26 AM
  3. Odd problem in Admin/ File manager--- lots of "n's"
    By vortexblue in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-17-2003, 02:12 PM
  4. File manager
    By jgkiefer in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 08-19-2003, 08:38 AM
  5. Problem with File Manager
    By hostspring in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-20-2003, 07:57 AM

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
  •