• [^] # Re: Interface PHP pour MPD

    Posté par . En réponse au journal Interface PHP pour MPD. Évalué à 1.

    MPD a un support basique de la sécu:

    password < password@permissions >
    This specifies a password for access to mpd. The
    format is "password@permissions" where permissions
    is a comma delimmitted list composed of
    "read","add","control", and/or "admin". "read"
    allows for reading of the database, displaying the
    current playlist, and current status of mpd. "add"
    allows for adding songs and loading playlists.
    "control" allows for all other player and playlist
    manipulations. "admin" allows the db to be updated
    and for the client to kill mpd. More than one
    password can be specified. An example of a pass­
    word is "somePassword@read,add".

    default_permissions < permissions >
    This specifies the permissions of a client that has
    not been authenticated using a password. The for­
    mat of permissions is specified n the description
    of the "password" config paramter. If not pass­
    words are specified, the default is "read,add,con­
    trol,admin", otherwise it is "" (no permissions).