RE: Stopping users to see uploaded files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: symbulos [mailto:partners@xxxxxxxxxxxx]
> Sent: Friday, May 27, 2005 1:00 PM

> Unfortunately, that means every person who connects to the directory can
> see
> the files. If some of the files are for sale, how do you stop the user
> from
> seeing them / downloading them without permission?

Move them _outside_ webscope and generate a download with the header() function, which is only is executed if the user has access.
 
> Is there any other way to upload files using php?

That way´s just fine. You could upload directly to the dir outside webscope if You like?


--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/Systemdeveloper

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux