Secure method for linking to image files uploaded via custom CMS
- by letseatfood
How does one provide a direct URL for an image file (JPEG) that is secure?
For example, if a PHP script writes uploaded images to directory http://www.somehost.com/images, is it okay to provide http://www.somehost.com/images/someimage.jpg as the URL, or is there a more secure way to do this?
Should I look into something like the permalink feature that is a part of Wordpress? I am not sure if that is related.
The main reason I ask is that I have a custom PHP/MySQL CMS for managing images. I would like for the client to be able to copy a link to the image they want and then include it in a TinyMCE text editor for inserting the image in their website.
Thanks!