Providing security to user uploaded files

General discussions related to php

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Thu Jan 30, 2014 4:39 am

Providing security to user uploaded files

Postby usersamdes » Thu Jan 30, 2014 4:41 am

I have a website in PHP, in which I want to secure user uploaded images and files, either by encryption/decryption or by providing password security to corresponding directory.

So that only that user can see it and others will not be able to see or download it.

I have tried to secure it using .htaccess, it restricted outside user from accessing that directory. However I am passing those image links to Android and iOS APP. Due to restriction given by .htaccess those APP are not able to display those images.

Kindly let me know if you have any suggestion to secure it.

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 3 guests