sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Rémi's Avatar

RSS log/pass


Question posted by: Rémi (Guest) on October 19th, 2005 07:45 PM
Hello,

I would like to create a podcsat/rss stream on my website but i wan't to
allow mp3 downloads only to people who have a log/password or a least a
"secret" word.

Is that possible ?
Thanks a lot for your help.
Rémi.
6 Answers Posted
Gomolyako Eduard's Avatar
Gomolyako Eduard October 20th, 2005 01:35 PM
Guest - n/a Posts
#2: Re: RSS log/pass

Yes, it's possible.

You must handle HTTP request to your mp3 files, authenticate user and
if authentication is successed permit file downloading.

Which software do you use on your site? On what platform your site is
hosted? Do you use any server-side scripts?

Best, Ed.

Rémi wrote:
[color=blue]
> Hello,
>
> I would like to create a podcsat/rss stream on my website but i wan't to
> allow mp3 downloads only to people who have a log/password or a least a
> "secret" word.
>
> Is that possible ?
> Thanks a lot for your help.
> Rémi.[/color]

Rémi's Avatar
Guest - n/a Posts
#3: Re: RSS log/pass

Gomolyako Eduard a écrit :[color=blue]
> Yes, it's possible.
>
> You must handle HTTP request to your mp3 files, authenticate user and
> if authentication is successed permit file downloading.
>
> Which software do you use on your site? On what platform your site is
> hosted? Do you use any server-side scripts?[/color]

Nothing special really....
It is for a webradio, they just have mp3 stored on a server.
I would like to create a XML/RSS file from that but i would like to
allow download only to people who have a valid id/pass. People will be
allowed then to download the last show of their favorite program

Is it possible with ipodder, itunes or another one ?
Actually, I know how to write a XML/RSS file (by hand or with
feedburner.com) but how to put a restriction on it ? a log/pass ?

Thanks for your help.
Rémi.
Rémi's Avatar
Guest - n/a Posts
#4: Re: RSS log/pass

Gomolyako Eduard a écrit :[color=blue]
> Yes, it's possible.
>
> You must handle HTTP request to your mp3 files, authenticate user and
> if authentication is successed permit file downloading.
>
> Which software do you use on your site? On what platform your site is
> hosted? Do you use any server-side scripts?[/color]

I see ! You mean eg a rss/podast stream located at something like :
http://mywebradio.com/podcast.php?login=name&pass=pass ?
or at least :
http://mywebradio.com/podcast.php?secretword=ninini ?
I am right ?

For now the platform is :
Apache/2.0.49 (Win32) mod_perl/1.99_12 Perl/v5.8.3 mod_ssl/2.0.49
OpenSSL/0.9.7d mod_python/3.1.3 Python/2.3.3 mod_fastcgi/2.4.2
mod_jk/1.2.0 DAV/2 Server at www.mywebradio.com Port 80

Thanks.
Rémi.
Johannes Koch's Avatar
Guest - n/a Posts
#5: Re: RSS log/pass

Rémi wrote:[color=blue]
> Actually, I know how to write a XML/RSS file (by hand or with
> feedburner.com) but how to put a restriction on it ? a log/pass ?[/color]

As already mentioned, you have to do that on HTTP layer, not in RSS. The
server, where the files are stored must be password-protected.
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
Gomolyako Eduard's Avatar
Gomolyako Eduard October 21st, 2005 01:15 PM
Guest - n/a Posts
#6: Re: RSS log/pass

Rémi wrote:[color=blue]
> Gomolyako Eduard a écrit :[color=green]
> > Yes, it's possible.
> >
> > You must handle HTTP request to your mp3 files, authenticate user and
> > if authentication is successed permit file downloading.
> >
> > Which software do you use on your site? On what platform your site is
> > hosted? Do you use any server-side scripts?[/color]
>
> I see ! You mean eg a rss/podast stream located at something like :
> http://mywebradio.com/podcast.php?login=name&pass=pass ?[/color]

Nearly. First of all you must have knowledges about server-side
web-delepmoment. Do you have this knowledges? You can use for example
PHP on your server to handle HTTP requests or Perl or ASP or ASP .NET
or Java...

[color=blue]
> or at least :
> http://mywebradio.com/podcast.php?secretword=ninini ?
> I am right ?
>
> For now the platform is :
> Apache/2.0.49 (Win32) mod_perl/1.99_12 Perl/v5.8.3 mod_ssl/2.0.49
> OpenSSL/0.9.7d mod_python/3.1.3 Python/2.3.3 mod_fastcgi/2.4.2
> mod_jk/1.2.0 DAV/2 Server at www.mywebradio.com Port 80
>
> Thanks.
> Rémi.[/color]

remi's Avatar
Guest - n/a Posts
#7: Re: RSS log/pass

Hello,

Gomolyako Eduard a écrit :
[color=blue][color=green]
>>I see ! You mean eg a rss/podast stream located at something like :
>>http://mywebradio.com/podcast.php?login=name&pass=pass ?[/color]
>
>
> Nearly. First of all you must have knowledges about server-side
> web-delepmoment. Do you have this knowledges? You can use for example
> PHP on your server to handle HTTP requests or Perl or ASP or ASP .NET
> or Java...[/color]

Thanks for your reply.
I can't say i have this knowledge but somme people involved in this
project have (much better than me!). The problem is, thanks to yours
helps, a matter of PHP scritping to handle those HTTP resquests...
Rémi.

 
Not the answer you were looking for? Post your question . . .
196,803 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,803 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors