Sebastian,

Awesome! Really helpful, I think I can build on that. 

Thanks so much,

Michael

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Sebastian Wagner
> Sent: Saturday, September 23, 2006 4:53 PM
> To: [email protected]
> Subject: Re: [Red5] ip-based security-constraints
> 
> sure I've added a simple Donwload-Servlet ...
> you will have to alter the web.xml also to deploy that servlet see
> attached
> Same can be done to upload files
> there is a commented area in the file where you can add some auth stuff
> you get a file by: downloadhandler?fileName=myfile.jpg
> 
> regards
> sebastian
> 
> 
> 
> 2006/9/23, Michael Elsdoerfer <[EMAIL PROTECTED] >:
> 
>       > The stream directory can be forbidden for everybody and you make a
> simple
>       > servlet which outputs the file after it checks the userrights
> (wether
>       > based on IP or whatever kind of authentification you use).
> 
>       Sounds complicated, I'm venturing in unknown waters here. I need the
> file
>       accessible via HTTP - can a servlet do that? Any examples or
> documentation
>       on how I would go about implementing that?
> 
>       Also, judging from the responses I've gotten (thanks everbody!), am
> I
>       correct to assume that what I need can not be achieved via the
> normal Jetty
>       configuration? There seems to be the <ip-constraint>-Tag, but as I
> said, I
>       did not manage to get it working.
> 
>       Michael
> 
>       > -----Original Message-----
>       > From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> [mailto:[EMAIL PROTECTED] On Behalf
>       > Of Sebastian Wagner
>       > Sent: Saturday, September 23, 2006 10:19 AM
>       > To: [email protected] <mailto:[email protected]>
>       > Subject: Re: [Red5] ip-based security-constraints
>       >
>       > hi,
>       >
>       > The stream directory can be forbidden for everybody and you make a
> simple
>       > servlet which outputs the file after it checks the userrights
> (wether
>       > based on IP or whatever kind of authentification you use).
>       >
>       > regards
>       > sebastian
>       >
>       >
>       > 2006/9/23, Michael Elsdoerfer <[EMAIL PROTECTED] >:
>       >
>       >       Hi list,
>       >
>       >       I would like to have the "/streams" directory of a webapp
> not
>       > accessible,
>       >       except for one trused ip address. I did some googling, tried
>       > different
>       >       things with ip-constaint, but it didn't manage to get it
> work.
>       >
>       >       I guess my main problem is that I don't understand how the
>       >       "<web-resource-name>Forbidden</web-resource-name>" line
> actually
>       > works.
>       >
>       >       Anyway, I would greatly appreciate any examples of how this
> could be
>       >       achieved, or pointers in the right direction.
>       >
>       >       Thanks,
>       >
>       >       Michael
>       >
>       >
>       >       _______________________________________________
>       >       Red5 mailing list
>       >       [email protected]
>       >       http://osflash.org/mailman/listinfo/red5_osflash.org
> <http://osflash.org/mailman/listinfo/red5_osflash.org>
>       >
>       >
>       >
>       >
>       >
>       > --
>       > Sebastian Wagner
>       > http://www.webbase-design.de < http://www.webbase-design.de
> <http://www.webbase-design.de> >
>       > http://www.laszlo-forum.de
>       > Bleichstraße 92
>       > 75173 Pforzheim
>       > Tel.: 0177-7341829
>       > Home: 07231-417456
>       > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 
>       _______________________________________________
>       Red5 mailing list
>       [email protected]
>       http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
> 
> 
> 
> --
> Sebastian Wagner
> http://www.webbase-design.de
> http://www.laszlo-forum.de
> Bleichstraße 92
> 75173 Pforzheim
> Tel.: 0177-7341829
> Home: 07231-417456
> [EMAIL PROTECTED]


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to