Hi, we have server A and server B.
on server A, there is a folder, let us say, it is
[login to view URL]
At server B, after user login, we need to display image to the user using:
<img src="[login to view URL]">
However, if user is not logged in, we need to let the deep link [login to view URL] return 403 forbidden when users type this deep link on the browser.
There are millions of images on the folder. Each image will be treated the same way.
Please check solutions using .htaccess, or anything simple solution.
Our server is using PHP, LINUX and Centos Cpanel.
Please only reply if you have carefully read the requirement on how to implement it. Thanks.
17 freelancers are bidding on average $161 for this job
Hello Sir, I can restrict image access to non logged in users. I am willing to start right away. Please check my profile for work and experience. Regards Hardeep
Hi, I have 4 years of experience in Linux system admin and aws services. I will hide your images folder using htaccess. Please discuss to start. Thank you
This should not done only through .htaccess. We need to do some custom programming also. It should check authentication in PHP and then return image based on authentication