I am working on a custom WordPress avatar plugin. So I was wondering if there is a way to protect my images from outside direct access.
I Googled a bit and found that editing .htaccess file could be an option but I don’t want to jump onto that.
I totally wanna protect my wp-upload directory.

Any ideas?

Read more here: How to create link to image that is only accessible from php script but not directly?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: