On 4/3/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
Hi,
> One popular method is to place your files outside of the webroot.
I thought about that.
> This makes it so people cannot access the files directly. Then create
> a PHP script to read the file to the user with the correct mime type
> usin
Hi,
> One popular method is to place your files outside of the webroot.
I thought about that.
> This makes it so people cannot access the files directly. Then create
> a PHP script to read the file to the user with the correct mime type
> using a header() call.
Humm... and how do i do this, if i
On 4/1/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
Hi,
I made this site in PHP that has a page with some PDFs to download.
My costumer wants that only subscribed people are allowed to download
the PDFs.
I've already made the subscrbe and login mechanism.
Now, my question for you is about letti
'Mário Gamito'
> Subject: RE: [PHP] Downloads for subsrcibers only
>
> Look at mod_auth_mysql. Then authenticate your pdf directory
> against that
> database of users.
>
> Otherwise anyone who knows the direct link to your PDF can
> download it,
> bypassing a
Look at mod_auth_mysql. Then authenticate your pdf directory against that
database of users.
Otherwise anyone who knows the direct link to your PDF can download it,
bypassing all your 'subscription' security.
> -Original Message-
> From: Mário Gamito [mailto:[EMAIL PROTECTED]
> Sent: S
5 matches
Mail list logo