#1  
Old 21st February 2012, 11:27
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
Default subsite with restricted access

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.
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2012, 11:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
aldo (21st February 2012)
  #3  
Old 21st February 2012, 11:49
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
Default

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

Thanks again.
Reply With Quote
  #4  
Old 21st February 2012, 11:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
 
Default

Yes, as you change the FTP user path in step 2).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
aldo (21st February 2012)
Reply

Bookmarks

Tags
subsite

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix often finds MySQL inaccessible ande General 19 7th November 2012 17:53
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 14:11
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 15:23
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 03:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.