user authentication before download
Posted: Sat Jan 20, 2007 7:08 am
hi friends,
please tel me how can i user can be authenticated by user name and password stored in MySQL database before he is allowed to download a file from a webserver, actually i want photos of diffrent users to be stored in diffrent places on web server and no one can download that photos using a direct url, each user should acces only his own photos and hense no download should be allowed without username and password auhentication of the downloader.
i would be greatful if you can provide me with useful links or sample code
thanks
please tel me how can i user can be authenticated by user name and password stored in MySQL database before he is allowed to download a file from a webserver, actually i want photos of diffrent users to be stored in diffrent places on web server and no one can download that photos using a direct url, each user should acces only his own photos and hense no download should be allowed without username and password auhentication of the downloader.
i would be greatful if you can provide me with useful links or sample code
thanks