rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: silkman on December 09, 2005, 04:48:30 PM

Title: PSP and passworded feeds
Post by: silkman on December 09, 2005, 04:48:30 PM
Thanks to pspportal and reading many posts here i have managed to set up a web server (the easy part) and finally a rss audio feed that my psp can find and play the audio from when connected to my lan.

As i have set up the web server to be available via the internet i have set up username and password on HFS software for the index page and the music folder.
This works fine and dandy at my work, as  i use winamp which asks for a username and password  first and then streams the mp3 ok.

My problem is that i have to remove the password from the music folder to be able to use the feed on the psp- (i have to to do this at home too on my lan feed) as there dosnt seem to be a prompt for user/pass when reading the channel!    (of course the psp does ask me for user/pass when i actually go to my pspportal page to add the feed)

i know its a longshot that  someone could find my ip , then my open port and type hfs folder name into IE.    
 ie. http://65.554.433.222:6543/stuffforhfs/
but it is possible and thats why i really want the 'stuffforhfs' folder passworded.so if anyone bypasses the pspportal page they still have to type in a username.

has anyone got any ideas on this ??  

thanks silky
Title: PSP and passworded feeds
Post by: SiY11 on December 17, 2005, 07:37:23 AM
Bump


I have the same problem
Title: PSP and passworded feeds
Post by: SiY11 on December 17, 2005, 08:01:03 AM
I was thinking and I believe only Sony can fix this problem in a next firmware update if they ever do it. Sony would have to implement support for passwords in rss feeds so all we can do is wait what does everyone else think?
Title: PSP and passworded feeds
Post by: SiY11 on December 17, 2005, 08:02:40 AM
Im ganna ask around the PSP Networking forums and see if there is a way to work this.
Title: PSP and passworded feeds
Post by: SiY11 on December 17, 2005, 08:28:57 AM
Its 3:27am here so I am going to get some sleep I will try to see if there is a way to work this without waiting for a firmware update for the PSP.
Title: PSP and passworded feeds
Post by: Anonymous on December 17, 2005, 10:56:31 PM
Well everyone seems to ignore my posts so I think it’s safe to say it will have to be done by Sony in a firmware update.
Title: PSP and passworded feeds
Post by: SiY11 on December 17, 2005, 10:57:40 PM
OMG it doesn’t log me in automatically lol.
Title: PSP and passworded feeds
Post by: Anonymous on December 18, 2005, 01:36:45 PM
Quote from: "SiY11"
OMG it doesn’t log me in automatically lol.
You Need cookies and javascript enabled.
Title: re:passwords
Post by: silky on December 18, 2005, 05:14:52 PM
hiya siy11

sorry i missed ya postings....i'd given up looking for replys after a week..lol

i guess no one else wants to protect the files like we do.


maybe we could post a FIX IT to sony somehow, and ask them if its a possibility!!?

Anyhow thanks for replying...let me know if u find out anything..i will do same.

               Silky.
Title: PSP and passworded feeds
Post by: SiY11 on December 18, 2005, 07:22:50 PM
How would I contact Sony about that would it be under support on there site? Let me know where to do it and I will leave a suggestion to them for there next firmware and start a signing forum under general and networking in the PSP forums.
Title: PSP and passworded feeds
Post by: rejetto on December 19, 2005, 09:19:06 PM
i know nothing about PSP.
can't you just unprotect the RSS file?
Title: PSP and passworded feeds
Post by: SiY11 on December 20, 2005, 04:40:41 AM
Yah that’s what I do butt I don’t want to do that because the folder to which my song is has to be unprotected as well as the RSS file I really didn’t want to whole world to view and download my music files because I am scared of the record companies I don’t have enough money to go to court for something like that. I don’t want them to say I am pirating there music because I put it on a public server. I don’t want to buy a 2 GB flash drive for my PSP to store music on it when I can stream it.
Title: PSP and passworded feeds
Post by: rejetto on December 20, 2005, 11:24:21 AM
i told the RSS file, not the music
you can keep the RSS file in another folder (likely the upper one)
Title: PSP and passworded feeds
Post by: SiY11 on December 20, 2005, 08:46:47 PM
Quote from: "rejetto"
i told the RSS file, not the music
you can keep the RSS file in another folder (likely the upper one)


I don’t understand what you are saying. My RSS file is in a diff folder than my music and the reason I put my music folder on the HFS is so I can have access to it from any ware in the world and I wanted it protected so only I can have access.
Title: PSP and passworded feeds
Post by: rejetto on December 20, 2005, 09:49:46 PM
ok, so you can protect the folder with the music and leave unprotected the folder with RSS
Title: protected music folder
Post by: silky on December 21, 2005, 01:19:48 PM
hi rejetto,  

  the problem with that is that when you access the rss feed file you end up accessing a mp3 file in the protected music folder so HFS correctly requires a password for that too, so using a PSP fails on the feed.  

One thing i have just thought of is that from my work pc i have accessed the passworded mp3s using winamp and it streamed them nicely enough.
i am wondering if a url like this  

       http://user:pass:86.123.145.56:port/music/name.mp3  

might be a viable address that can be put in the rss feed file. then if the rss link is on a passworded web page, only the owner can access it.

i can't test that today as i havnt left my pc on at home (in at work now).
ill try tommorrow if i remember.lol... and let you know what i find.

         cheers silky
Title: hmmmm may work
Post by: silky on December 21, 2005, 01:30:14 PM
just read this on a site


4.7.3 Gathering from password-protected servers
You can gather password-protected documents from HTTP and FTP servers. In both cases, you can specify a username and password as a part of the URL. The format is as follows:


         ftp://user:password@host:port/url-path
        http://user:password@host:port/url-path

With this format, the ``user:password'' part is kept as a part of the URL string all throughout Harvest. This may enable anyone who uses your Broker(s) to access password-protected documents.


sounds like it could be possible. ill try at home tonight via my wireless lan and let you know anything i find!!!!

 Silky
Title: PSP and passworded feeds
Post by: SiY11 on December 21, 2005, 06:15:36 PM
First off I tried it doesn’t work and second its not very safe because all someone would have to do is edit the RSS.xml file and see the user: pass in plain English as well as if the went to info on the song for the RSS.xml feed.

Example of RSS.xml file
Code: [Select]
<rss version="2.0">
  <channel>
    <title>LanRSS</title>
    <description>For internal network use</description>
    <link>http://XXX:XXXXXXXX@192.168.2.2:8080</link>
    <lastBuildDate>Wed, 21 Dec 2005 12:00:01 -0500</lastBuildDate>
    <pubDate>Wed, 21 Dec 2005 11:59:13 -0500</pubDate>
    <item>
      <title>Creed - Torn.mp3</title>
      <description></description>
      <link>http://XXX:XXXXXXXX@192.168.2.2:8080/</link>
      <enclosure url="http://XXX:XXXXXXX@192.168.2.2:8080/Private/Music/My%20Music/Creed%20-%20Torn.mp3" length="" type="Audio/MP3"></enclosure>
      <pubDate>Tue, 20 Dec 2005 18:42:00 -0500</pubDate>
    </item>
  </channel>
</rss>

Example of PSP info option:
(http://img256.imageshack.us/img256/3918/psppicofrss5uj.jpg)
Title: yep..agreed
Post by: silky on December 21, 2005, 06:23:47 PM
hiya siy11.

i just tried it too, failed as before, although winamp takes the address fine so it must be the workings of the PSP.

as for the editing of the rss feed, i would of put my rss feed link on a passworded page so only myself could access the link....but nevermind hey lol.


must dash.  may have time later to try a few things..

silky
Title: ah!
Post by: silky on December 21, 2005, 06:34:50 PM
just remembered something else...

we may have to put in the '%' code for the @ sign   in  our url line..

ie  %20 is space...

im not sure what the @ signs code is...


just a thought before i go to get some dinner!
Title: PSP and passworded feeds
Post by: Guest on December 24, 2005, 02:14:47 AM
i see we are in the psp subject some im going to ask my question. Can i have 2 Rss files?
Title: PSP and passworded feeds
Post by: SiY11 on December 24, 2005, 05:07:11 AM
wha do you mean "can i have 2 rss?" i have 2 one is for over the internet and one fore when i am at home in my lan
Title: PSP and passworded feeds
Post by: Guest on December 24, 2005, 05:15:46 PM
umm. ok. like have a .RSS file that contains all the music from my folder and another .RSS file that cointains my brothers music so theres 2 .RSS files.
Title: PSP and passworded feeds
Post by: SiY11 on December 24, 2005, 07:24:52 PM
Yah you can have as many RSS files as you want they just have to be different names.
Title: PSP and passworded feeds
Post by: Anonymous on December 24, 2005, 07:47:48 PM
ok cool, but when i go to the home page on my psp, will there be 2 "RSS Music" buttons?
Title: PSP and passworded feeds
Post by: Anonymous on December 24, 2005, 07:53:15 PM
like the .xml file im talking about. sorry if you though i was talking about something else
Title: PSP and passworded feeds
Post by: Anonymous on December 24, 2005, 07:54:25 PM
like the .xml files, can i have 2 of them?