SirGalaahad
Programmer
Hello!
We have a server with a lot of pdf-files. We want that the users authentificate before downloading files. Until now we lock our directories with php and the webserver apache : .htaccess, .htpasswd... After sign_up with php the php script appends the Username and Password at the .htpasswd file.
But this has some disadvantages (for example the login window cant be formatted and so on). And we have a coldfusion server license now, too.
We want now s.th. like the following:
1. User log on (coldfusion and database)
2. User clicks on link to download protected pdf-file
3. cfm-script sends Username and Password to apache webserver which uses .htpasswd to authentificate User
But much better would be that coldfusion controls the access to directories (for example in combination with session managment).
If you know a totally different approach to my problem, tell me, please!
Thanks in advance
Rene Guenther
We have a server with a lot of pdf-files. We want that the users authentificate before downloading files. Until now we lock our directories with php and the webserver apache : .htaccess, .htpasswd... After sign_up with php the php script appends the Username and Password at the .htpasswd file.
But this has some disadvantages (for example the login window cant be formatted and so on). And we have a coldfusion server license now, too.
We want now s.th. like the following:
1. User log on (coldfusion and database)
2. User clicks on link to download protected pdf-file
3. cfm-script sends Username and Password to apache webserver which uses .htpasswd to authentificate User
But much better would be that coldfusion controls the access to directories (for example in combination with session managment).
If you know a totally different approach to my problem, tell me, please!
Thanks in advance
Rene Guenther