Keighl Teaches You to Access Private Images
We’ve all run into scenarios with ExpressionEngine where we need to protect content from being accessed by users. There have been a lot of great recent developments on this front. First, an update of Linklocker (which we have not tested here) and now Keighl.com has an article on Using Protected Images in ExpressionEngine. Warning: Involves PHP.
Here’s a taste:
Here’s what we do. As long you’ve got an image library on your server (like GD, or ImageMagik), you can hide the real path to the images, and avoid the separate login box. Instead of an absolute or relative path to the image in the src parameter, just send it to a secret script that creates the image.
Poor Keighl is about to get an email from Leslie Camacho in regards to the space between Expression and Engine: it’s just the kind of service EllisLab offers. We vote to give them a pass this time for the article.
Update: Keighl has corrected the spelling. Calling off the dogs. The terrible irony being of course, we misspelled his name! Two for two today with names. My sincere apologies to you Keighl.
Share on Twitter