Currently I have a user_image directory under www and yii can access it in order to
tag in my form. But If someone copy the image link address,
they can access the user_image directory and view all other images too if they randomly modify
the image name.
I tried to use .htaccess but it blocked yii too. Basically I wanna know if there is
a way that I can still allow my website to display images in image tag on the html page but
doesn’t expose the actual path to the file ? or if it does, it doesn’t allow the user to directly
view all the images ?
I appreciate your ideas and suggestions