Bug 10930 - Password protection
: Password protection
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.3.2
: PC Windows XP
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-02 11:47 UTC by Barry Gordon
Modified: 2009-02-03 00:50 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Gordon 2009-02-02 11:47:58 UTC
Not really a bug, but:

If I do a login over the CLI interface then I would have expected to also be authorized to use the HTTP interface.  I use that just to retrieve cover images.

IMHO logging using CLI should log me in to both the 9000 port (HTTP) and the 9090 socket (CLI)

In the mean time all I need is the string that I need to send on an http GET command to execute the login on the http port 

something like:

"GET "+"login userid/password"+" HTTP/1.0\r\n"

I do not do much http work so a little help appreciated.
Comment 1 Michael Herger 2009-02-03 00:50:42 UTC
http authentication is handled by the http protocol. This is completely independant from the CLI (and following standards). 

To get the artwork you can use an url like 
http://username:password@yourserver:9000/artworkfile.jpg

You could of course use JSON/RPC instead of the raw CLI. It uses http as the transport protocol.