Security Concerns in Codeigniter

Hotlink protection for Files

we need to secure uploads, downloads and direct URL access for the files uploaded in system. On using Direct URL file should not be opened (this we can do from .htaccess or apache config but need confirmation on it if it is secure) show images on front end even if blocked from .htaccess or apache config only for user with permission.

require downloading of the files in secure way for users only with the appropriate permissions. direct download link should not work.

Hi, this is programming related, you may need to message on Codeigniter community.
Please ask Envato related here.
Thank you

Apologize, I didnt know about this.

Will keep in flow in future.

Thank you guidance.