RSS log/pass

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rémi

    RSS log/pass

    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.
  • Gomolyako Eduard

    #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]

    Comment

    • Rémi

      #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.

      Comment

      • Rémi

        #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.

        Comment

        • Johannes Koch

          #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)

          Comment

          • Gomolyako Eduard

            #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]

            Comment

            • remi

              #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.

              Comment

              Working...