subsite with restricted access

Discussion in 'Installation/Configuration' started by aldo, Feb 21, 2012.

  1. aldo

    aldo Member HowtoForge Supporter

    In ISPConfig 3.0.4.2 I would set-up a subsite with a separate SFTP access.
    I cannot use a sub domain.

    For example.
    user1 has SFTP access to the folder XXX accessible through www.example.com
    user2 has SFTP access to a separate folder YYY accessible through www.example.com/subsite/

    user1 should not have access to YYY.
    user2 should not have access to XXX.

    Is it possible to configure this scenario with ISPConfig 3 as client, reseller, or administrator?

    If not, how can I get it without damaging the ISPConfig installation?

    Could I create a dummy site and then a symbolic link to itself?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do this with ftps, but not with sftp. SFTP is ssh and not FTP and for SSH you would need a own chroot enviroment for every user if you want to jail them.

    So the best way to achieve this is to use ftps which is FTP over SSL.

    1) Create a new folder subsite.
    2) Add a new ftp user and then change the ftp user path on the options tab to point to the subsite folder.
     
  3. aldo

    aldo Member HowtoForge Supporter

    This would exclude the access of the FTP user of the main site?

    Thanks again.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, as you change the FTP user path in step 2).
     

Share This Page