pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: How to restrict access to a pulpTunes Installation  (Read 1018 times)

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 451
    • View Profile
    • Email
How to restrict access to a pulpTunes Installation
« on: April 15, 2011, 03:53:07 PM »

By default, anonymous access is allowed. To restrict anonymous access, or create groups and users with different permissions, you need to activate the User Management functionality, which is disabled by default:

After starting pulpTunes, right-click on the Orange icon in the Task Tray (Windows) or Menu Bar (Mac)

Select User Management.

Tick the "Enable User Management" checkbox, and enter new credentials for the administrator user.

After doing this, you will see a new "Log-in" link in the pulpTunes web page, at the top-right corner.

Click it and enter the admin credentials you set in the step above.

After being successfully authenticated, the page will reload and you will have yet another link "User Management". Click it to see the window popup that will allow you to configure the user permissions.

The first thing you will see is the Groups tab, with the Anonymous group selected. You can see it has the "Has Access" option selected. If you uncheck it, pulpTunes will from now on always ask for a username and password. In this tab you can also create new groups, and assign access permissions or the permission to rate a song. Next to the "Access Permissions" checkbox you'll see "All Playlists". This means users of the current group will have access to all of your playlists. If you click on that link, you can can restrict to wish playlists you want to give them access.

Under the Users tab, you can create users, assigning them usernames and passwords. You must assign a group to each user, which will determine the permissions for that user.
Logged

soundfriction

  • Initiate
  • *
  • Posts: 1
    • View Profile
Re: How to restrict access to a pulpTunes Installation
« Reply #1 on: November 18, 2011, 09:11:39 AM »

I just discovered this software and its super fantastic. I tried to do this on my own on the server side. Edited ~/.pulpTunes/groups.json:
Code: [Select]
{"access_playlists":null,"rate":false,"admin":false,"name":"Anonymous","download":false,"access":[b]false[/b]}
Took me a while to find the config files for OS X. Normally, it would be in a folder in ~/Library/Application Support/Pulptunes/
Nonetheless, your solution to restrict anonymous access is much better ;D

Logged