passing credentials in http request
Posted: 26 Oct 2011, 09:24
Hi, we implemented for 1.5 (but now port it to Joomla 1.7) an API for internal use which builds on top of Phoca Download and allows to manage downloading files which reside in a secure folder above www through http instead of manually downloading is through the Joomla frontend and that works perfectly fine in J 1.5 (using Phoca Download 1.3.7).
Access to that folder is controlled by Phoca Download and is restricted to a category which in return allows access to a particular user. Then we can download a file from that secured folder if we pass the user credentials in the http call, like e.g. http://usernameX:passwordY@www.mySite.c ... cadownload...
As said, all that works perfectly fine on Joomla 1.5, but after porting the component to 1.7 we can't download the file that way anymore but get re-directed to the Joomla login page instead.
Anyone can give a hint how to make that work also n Joomla 1.7?
THANKS !!!!
Access to that folder is controlled by Phoca Download and is restricted to a category which in return allows access to a particular user. Then we can download a file from that secured folder if we pass the user credentials in the http call, like e.g. http://usernameX:passwordY@www.mySite.c ... cadownload...
As said, all that works perfectly fine on Joomla 1.5, but after porting the component to 1.7 we can't download the file that way anymore but get re-directed to the Joomla login page instead.
Anyone can give a hint how to make that work also n Joomla 1.7?
THANKS !!!!