Can you control user access to specific shares?

Need help? Post your questions here.

Moderator: moderators

Can you control user access to specific shares?

Postby stennie » Sat Nov 06, 2010 6:03 pm

I was wondering if it's possible to have shares only be accessible to certain users? I don't see any options to control access to the music shares via the Subsonic web interface.


For example, I have a large bunch of Christmas music. Adding the Christmas "music folder" to Subsonic causes it to get mixed in with everything else I have. This means when I put on shuffle mode for the Android app, I may get death metal, then Jingle Bells, then some black metal. I'd rather just set up a user called "Christmas" that is the only one that has access to the Christmas music. That way, I can just change servers in the Android app when I want to go from my regular music to Christmas and back again. It would also allow me to stream Christmas music to the media center without "In League with Satan" popping up inbetween "Silent Night" and "We Three Kings".


Any help doing this would be appreciated!

Here is the setup, btw:


Image
stennie
 
Posts: 31
Joined: Fri Sep 03, 2010 1:34 pm

Postby duckwars » Sun Nov 07, 2010 12:02 am

I agree. I'm trying to set mine up so my sister can use subsonic without both of our music's getting mixed in together...

I'm running the server on ubuntu... I was hoping I could just have two instances of subsonic running if possible, have one forward to one port and the other to another port, but the only config file is shared by all users in /etc/default/subsonic

I'm really interested in this as well. THANKS!
duckwars
 
Posts: 4
Joined: Wed Jul 21, 2010 4:21 am

Postby GJ51 » Sun Nov 07, 2010 12:27 am

I have two servers each with their own SS site. You could also set up multiple VM's for multiple servers on different ports.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby stennie » Sun Nov 07, 2010 4:40 pm

Would licensing allow for the running of 2 different Subsonic servers on a LAN with 2 different *.subsonic.org addresses?
stennie
 
Posts: 31
Joined: Fri Sep 03, 2010 1:34 pm

Postby alphawave7 » Sun Nov 07, 2010 6:57 pm

stennie wrote:Would licensing allow for the running of 2 different Subsonic servers on a LAN with 2 different *.subsonic.org addresses?


AFAIK, it takes a license per .subsonic.org address. Sindre can correct me if I'm wrong on that. :)
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby GJ51 » Sun Nov 07, 2010 8:23 pm

You could try inputting the address plus the port number to see if it will connect to different servers.

http://server.subsonic.org:80

or

http://server.subsonic.org:8085

Thats how I connect to different servers through homeserver.com.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby stennie » Mon Nov 08, 2010 3:39 pm

GJ51 wrote:You could try inputting the address plus the port number to see if it will connect to different servers.

http://server.subsonic.org:80

or

http://server.subsonic.org:8085

Thats how I connect to different servers through homeserver.com.


Will this play nice with the Android app? I didn't think you could specify ports when adding servers...

Looks like I may just have to get a second license. I don't mind supporting Subsonic with plenty of donations, but a more elegant solution would be nice to have eventually. Feature request forum, here I come!

Thanks for the help!
stennie
 
Posts: 31
Joined: Fri Sep 03, 2010 1:34 pm

Postby GJ51 » Mon Nov 08, 2010 7:37 pm

I tested it with a subsonic url, and it does not work. It does work with my WHS url. The other option would be to just use your IP address assigned by your ISP and append the port number, e.g. 185.27.241.16:8085

Although most ISP's don't give you a fixed IP address, they usually don't change that often. I think I've had the same IP for over a year now. You can find your IP address in your router or through various websites that will report it for you.

So, easy enough, I have multiple SS servers set up to listen on different ports.

Server 1 - 8085
Server 2 - 8086
Server 3 - 8087

Each server has its own internal ip address assigned by the router, ( I suggest assigning static ip's for each server)

Server 1 - 192.168.1.254
Server 2 - 192.168.1.253
Server 3 - 192.168.1.252

Now just set up port forwarding in the router to forward each port number to the correct server and you will have access to all 3 from the web as long as your IP remains the same. If the IP changes, just correct the external IP address and everything should work fine.

e.g. 185.27.241.16:8085 - changed to 185.27.241.23:8085

Of course, if you ISP changes your IP address every day then it would not be pratical, but I've not seen that in my experience. YMMV.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests