Re: authenticate direct downloads

2008-06-26 Thread dr. Hannibal Lecter
Heh, I'm still amazed by the fact that someone (except my wife) is actually reading that stuff :-) Anyway, as far as I can see, there's only this: https://trac.cakephp.org/ticket/4517 and it's not very clear about it, it looks like it's just "add these few types I need". A generic solution sho

Re: authenticate direct downloads

2008-06-26 Thread Jonathan Snook
Yeah, because of your post, I've been careful to mention the whole mime-type thing. :) Has a ticket been opened to add custom media types to the MediaView? On Thu, Jun 26, 2008 at 5:45 AM, dr. Hannibal Lecter <[EMAIL PROTECTED]> wrote: > > How about some shameless plugs? :) > > http://dsi.vozibr

Re: authenticate direct downloads

2008-06-26 Thread dr. Hannibal Lecter
How about some shameless plugs? :) http://dsi.vozibrale.com/articles/view/mediaview-is-a-bleeding-bastard For a complete example, you can also download the code as a part of my CMS, but the main MediaView stuff is in the article. On Jun 25, 3:37 pm, Petra Meier <[EMAIL PROTECTED]> wrote: > Hell

Re: authenticate direct downloads

2008-06-25 Thread Jonathan Snook
Place the files in your app folder but outside of webroot. Then create an action that people can use to access a file. http://example.com/downloads/get/myfile.zip Then, either try using the MediaView [1] (as long as your mimetype is supported) or build you own simple file reader (look into readf

authenticate direct downloads

2008-06-25 Thread Petra Meier
Hello, I use the Auth component to authenticate my users (using a sql database). On apache I do not have any authentication. everything works fine. Now I have to add files for download that only registered users may download. how do I best do that? do I have to "duplicate" authentication? I dont