Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04/03/2007 1:42 PM by  Peter Donker
Document Security - Different Portals
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
eqx
New Member
New Member
Posts:2


--
03/27/2007 9:25 PM

    I am running  the latest DMX version on DNN version 4.04.01

    I have multiple portals i.e. in the DNN portal directory structure, portal/0, portal/1, portal/2.  Each has their own Admin account and is allocated to different business clients.

    In my setup, HOST and each portal's ADMIN account can see all folders and documents. 

    Can I configure DMX for:

    1) Each portal/0, portal/1, portal/2,  should be completely private and not viewable across portals
    2) In the DMX repository file, create a subdiretory for each portal i.e. c:\dmx\portal0, c:\dmx\portal1 ...

    - Eqx





    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/27/2007 10:37 PM
    1. DMX can ONLY operate that way. Content cannot be viewed across portals.
    2. By default it's Portals/0/DMX, Portals/1/DMX etc. You can specify a string that can include the following placeholders:
    - [PortalId] which is replaced by the integer ID of the portal
    - [HomeDirectoryPath] which is replaced by the relative path to the home directory of the portal.
    Kind regards
    eqx
    New Member
    New Member
    Posts:2


    --
    03/28/2007 6:51 PM
    Peter,

    I downloaded the Administrators and Users Guide and do not see [PortalID] and [HomeDirectoryPath] described. Where can I read about this and other configuration features in DMX ?

    If each portal has an Admin account, each Admin can go into the DMX Options and change the settings on the Portal tab. If Admin can change the Repository Location (Default or User defined). This would effect the other portals. Is my comment correct and how would I protect again this potential security issue ?



    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/30/2007 4:39 PM
    Nathan,

    The [PortalId] etc placeholders were only put in place for a custom project and were never thought to serve anyone else, so they went undocumented. They are now documented here is this thread. The reason the other client wanted this was to roll out a huge amount of portals in an automated fashion and still save the DMX documents somewhere else.

    The admin can change the repository location of ONLY his own DMX repository. It does not affect the other portals. Potentially he could put this in the same place as another portal. This does not open up the documents of the other portal, however. All documents are renamed and are only identified through the DB and only retrieved in that way. There is no way he'd be able to see the other documents unless he would have full access to the database (which an admin does not have).

    Peter
    Roger Lim
    New Member
    New Member
    Posts:1


    --
    03/30/2007 8:01 PM

    We tried using the value [PortalId] without any success.  It does not seem to try to create the directory if it doesn't exist.  Even when we created the directories manually, it still reports the same error.  We would like the module to automatically create the directory, so that future instances can be provisioned without having an admin go to the file system.



    Thanks,
    Roger Lim

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    04/03/2007 1:42 PM
    Roger,
    It is not an official feature and the way it was created it was not intended to operate that way. Note that you have to set permissions correctly to move the repository outside the portal home directory.
    The only way to have automatic creation is through Portals/0/DMX, Portals/1/DMX etc.
    Kind regards
    You are not authorized to post a reply.