Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: GTS on November 03, 2011, 07:05:41 PM

Title: How to let Web developer update site securely (primary ibay access issue)
Post by: GTS on November 03, 2011, 07:05:41 PM
My customer wants to host a web site for public access and to allow the web developer to remotely upload the site and be able to do ongoing updates.  As I understand it, this needs to go into the primary i-bay which will not allow FTP uploads nor SSH access except for the server Admin.

How can I let a developer access the primary without having to give him system wide access via SSH?  If not possible, is there a way I can create another iBay and redirect from the primary or otherwise have it publicly exposed under the domain name?  Or some other way to handle this?

Thanks for any ideas!   
Title: Re: How to let Web developer update site securely (primary ibay access issue)
Post by: CharlieBrady on November 03, 2011, 11:10:34 PM
My customer wants to host a web site for public access and to allow the web developer to remotely upload the site and be able to do ongoing updates.  As I understand it, this needs to go into the primary i-bay ...

No, that is not true. A different i-bay can be used to provide the website content for the primary domain. I don't think this can be done via server-manager, however.

From the 'root' user command line, do:

/sbin/e-smith/db domains setprop your.domain.name Content ibayX
/sbin/e-smith/signal-event domain-modify your.domain.name

Then have your web developer update ibayX via SCP.
Title: Re: How to let Web developer update site securely (primary ibay access issue)
Post by: GTS on November 04, 2011, 02:58:29 PM
Thank you!
Title: Re: How to let Web developer update site securely (primary ibay access issue)
Post by: janet on November 04, 2011, 07:28:55 PM
GTS

That can be done in server manager, in the Domains panel, where you can select an ibay for the primary domain content, or where you can specify any ibay for any of the virtual domains that are setup on your sme server
See also
http://wiki.contribs.org/Remoteuseraccess
you can use this contrib to limit access on a per user basis to a certain ibay or location
Title: Re: How to let Web developer update site securely (primary ibay access issue)
Post by: GTS on November 04, 2011, 09:51:24 PM
Very interesting.
Thanks!