PDA

View Full Version : Sharing a server



jaffacake
2008-05-09, 10:21
Apologies if this has been covered before, I did search the forums without success.

Is it possible for 2 independent users to share a SqueezeCenter between them, but not have control over each others players?

For example, if you life in a household with children, you may wish to give them an SB receiver of their own in their bedroom - but you would want them to have access to each others receivers or to the main household ones in the living room or in Mom & Dad's room.

Is this possible? Or would they each need to run their own server? If they each ran their own instance of SC on their own PC, assuming they still share a LAN based network, is it still possible to stop one child attaching to the other's server using either their SB Controller or their web browser?

I'm think of the same scenario applying in student houses, who may want to pool their music onto one box, or in small guesthouses; where the owner may wish to put a music player in each room but not allows other guests to accidentally wake each other up!

Thanks in advance,

Ben

MuckleEck
2008-05-09, 11:14
The simple answer would be to use an SB3 in each place with an IR remote only.

JJZolx
2008-05-09, 11:21
No. There's no multi-user security in SqueezeCenter.

pfarrell
2008-05-09, 11:31
jaffacake wrote:
> For example, if you life in a household with children, you may wish to
> give them an SB receiver of their own in their bedroom - but you would
> want them to have access to each others receivers or to the main
> household ones in the living room or in Mom & Dad's room.

I assume you left out a 'not' here

Anything is possible. Its open source.

You could, for instance, have two copies of SqueezeCenter on different
ports, pointing to different libraries.

AFAIK, Squeezecenter does not implement the equivalent of Basic Auth,
which is what you'd want to have userids and passwords for each HTTP
address.

SMOP


--
Pat Farrell
http://www.pfarrell.com/

jaffacake
2008-05-09, 15:00
Thanks to all for the responses.

Robin Bowes
2008-05-10, 06:16
jaffacake wrote:
> Thanks to all for the responses.

A few more ideas...

One way to do this would be to run multiple instances of SC. If you want
to run these on the same box, you would need to use different IPs for
each instance. You'd probably also want to use a "system-installed"
MySQL instance (rather than the one that comes with SC) with a separate
database for each SC instance.

Alternatively, you could run SC on separate machines with the libraries
mounted remotely.

R.

jaffacake
2008-05-10, 08:10
Thanks Robin, I was kinda looking at "out of the box" support.

peter
2008-05-11, 00:15
Robin Bowes wrote:
> jaffacake wrote:
>
>> Thanks to all for the responses.
>>
>
> A few more ideas...
>
> One way to do this would be to run multiple instances of SC. If you want
> to run these on the same box, you would need to use different IPs for
> each instance. You'd probably also want to use a "system-installed"
> MySQL instance (rather than the one that comes with SC) with a separate
> database for each SC instance.
>
> Alternatively, you could run SC on separate machines with the libraries
> mounted remotely.
>

Or run one or more separate virtual machine(s) with Squeezecenter on the
freeware vmware player:

http://www.vmware.com/appliances/directory/1208
http://www.vmware.com/products/player/

Use iptables to restrict access to the servers to the ip addresses of
the players you want to restrict it to.

It takes some tinkering, but it is possible.

Regards,
Peter

peter
2008-05-11, 06:24
Peter wrote:
> Robin Bowes wrote:
>
>> jaffacake wrote:
>>
>>
>>> Thanks to all for the responses.
>>>
>>>
>> A few more ideas...
>>
>> One way to do this would be to run multiple instances of SC. If you want
>> to run these on the same box, you would need to use different IPs for
>> each instance. You'd probably also want to use a "system-installed"
>> MySQL instance (rather than the one that comes with SC) with a separate
>> database for each SC instance.
>>
>> Alternatively, you could run SC on separate machines with the libraries
>> mounted remotely.
>>
>>
>
> Or run one or more separate virtual machine(s) with Squeezecenter on the
> freeware vmware player:
>
> http://www.vmware.com/appliances/directory/1208
> http://www.vmware.com/products/player/
>
> Use iptables to restrict access to the servers to the ip addresses of
> the players you want to restrict it to.
>
> It takes some tinkering, but it is possible.
>
This one is more appropriate (uses a smaller disk and accesses its music
elsewhere):

http://www.vmware.com/appliances/directory/1207

Regards,
Peter