Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Secure An Image

images php coding issues or problems here.

Moderators: macek, egami, gesf

Secure An Image

Postby kiwi » Thu May 26, 2011 1:06 am

i have a situation here...
I trying to secure a pdf/image from user download from internet. User can view it using online web browser like IE and etc through some CRM.

I manage to convert the pdf to image, because PDF allow to print.
But then now i try to secure this images, but how?

I manage to disable right click, manage to disable print, disable print screen. Now all i need is to prevent user from getting the images in Temporary Internet Files.
- my idea was, i know can't stop the file from download to user Temporary Internet Files, but i need to secure it so user can't grap the file from that folder and must view from the online CRM
- encrypt the image? zip the image? imagemagic to edit it? crop? image stream?

Any ideas....


thanks
kiwi
New php-forum User
New php-forum User
 
Posts: 124
Joined: Sun Feb 29, 2004 6:26 am

Re: Secure An Image

Postby webinfopedia » Thu May 26, 2011 4:46 am

The simple way what i feel is do water mark to your images.. You can do it by using either Photoshop or any other image editing tool.

If you want any help in Photoshop kindly visit below website, where i have posted Photoshop articles.
http://www.webinfopedia.com/article.php?cate=4

Thank You
User avatar
webinfopedia
New php-forum User
New php-forum User
 
Posts: 84
Joined: Sat May 21, 2011 10:26 pm

Re: Secure An Image

Postby kiwi » Thu May 26, 2011 5:01 pm

watermark doesnt help...

the images are some kind of important info like account figures and etc, only allow to view, not to copy. So if watermark was use, either the info cant be view because watermark might block or blur ceertain part, which the data will be useless.

What i need is to secure it from download....

Any suggestion ??

thanks
kiwi
New php-forum User
New php-forum User
 
Posts: 124
Joined: Sun Feb 29, 2004 6:26 am

Re: Secure An Image

Postby egami » Fri May 27, 2011 4:52 am

You _CANNOT_ secure an image or prevent it from being downloaded based upon this one very simple train of mind.



That image, is on your server.
If you want your client to view this image, it *MUST* be transferred to your client's computer.

ie.. it gets downloaded WHENEVER it is viewed.
And therefore, is cached in the temp files of the browser.


Keep in mind, the only data that is 100% secure, is the data that doesn't exist.
Everything else is fair game.
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron