RE: [PHP-WIN] Download with security

From: Date: Tue, 28 Jun 2005 15:10:01 +0000
Subject: RE: [PHP-WIN] Download with security
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26150@lists.php.net to get a copy of this message
First use an authorisation class to authenticate a user. You'll find one @ www.phpclasses.org (search for auth or something like that). Then you can use the "Download file" class @ phpclasses.org -->http://www.phpclasses.org/browse/package/699.html Combine these 2 and you're set :) Grtz Rodrigo -----Original Message----- From: Rui Monteiro [mailto:ruismonteiro@oniduo.pt] Sent: dinsdag 28 juni 2005 16:57 To: php-windows@lists.php.net Subject: [PHP-WIN] Download with security Hello there, I got to make a page where after a user login, he can download whatever files he want (the available for his access level). My question is where do I make the security access? 1 - On the server - Apache. It would be very difficult to create each user access whenever a new user appeared. 2 - Programming - Php. But in this case there would be a problem, since I can't control the file links. After someone downloaded the file, he could download it again without making any type of authentication. How can I make the link available only after login? Thank you very much for your time, Rui -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#26150) next »