Re: [PHP] Strategy to protect images

2008-07-02 Thread Børge Holen
On Wednesday 02 July 2008 04:39:57 Bastien Koert wrote: On Tue, Jul 1, 2008 at 2:16 PM, Stefano Esposito [EMAIL PROTECTED] wrote: On Tue, 01 Jul 2008 19:59:20 +0200 Børge Holen [EMAIL PROTECTED] wrote: On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote: Umm have you ever thought

Re: [PHP] Strategy to protect images

2008-07-01 Thread Stefano Esposito
On Sun, 15 Jun 2008 13:48:28 +0200 Stefano Esposito [EMAIL PROTECTED] wrote: Hi all, i have to forbid users of my site to view images directly (i.e. writing the image URL in the address bar) but they'd be able viewing them from the pages of the site. What's the best way of doing it, or

Re: [PHP] Strategy to protect images

2008-07-01 Thread Nitsan Bin-Nun
Umm have you ever thought about watermark-ing it? (In case its not a part of your website or something..) On 01/07/2008, Stefano Esposito [EMAIL PROTECTED] wrote: On Sun, 15 Jun 2008 13:48:28 +0200 Stefano Esposito [EMAIL PROTECTED] wrote: Hi all, i have to forbid users of my site to

Re: [PHP] Strategy to protect images

2008-07-01 Thread Børge Holen
On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote: Umm have you ever thought about watermark-ing it? (In case its not a part of your website or something..) heh, this dude got way to much time on his hands... ;D On 01/07/2008, Stefano Esposito [EMAIL PROTECTED] wrote: On Sun, 15 Jun

Re: [PHP] Strategy to protect images

2008-07-01 Thread Stefano Esposito
On Tue, 01 Jul 2008 19:59:20 +0200 Børge Holen [EMAIL PROTECTED] wrote: On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote: Umm have you ever thought about watermark-ing it? (In case its not a part of your website or something..) heh, this dude got way to much time on his hands... ;D

Re: [PHP] Strategy to protect images

2008-07-01 Thread Bastien Koert
On Tue, Jul 1, 2008 at 2:16 PM, Stefano Esposito [EMAIL PROTECTED] wrote: On Tue, 01 Jul 2008 19:59:20 +0200 Børge Holen [EMAIL PROTECTED] wrote: On Tuesday 01 July 2008 13:34:28 Nitsan Bin-Nun wrote: Umm have you ever thought about watermark-ing it? (In case its not a part of your

[PHP] Strategy to protect images

2008-06-15 Thread Stefano Esposito
Hi all, i have to forbid users of my site to view images directly (i.e. writing the image URL in the address bar) but they'd be able viewing them from the pages of the site. What's the best way of doing it, or something similar? Is there a common strategy using PHP? Thank you for any hint :-)

Re: [PHP] Strategy to protect images

2008-06-15 Thread Nirmalya Lahiri
the raw image data */ ? --- Nirmalya Lahiri [+91-9433113536] --- On Sun, 6/15/08, Stefano Esposito [EMAIL PROTECTED] wrote: From: Stefano Esposito [EMAIL PROTECTED] Subject: [PHP] Strategy to protect images To: php-general@lists.php.net Date: Sunday, June 15, 2008, 5:18 PM Hi all, i

Re: [PHP] Strategy to protect images

2008-06-15 Thread Stephen
I am not familiar with this bit of http. It looks like something I want to explore. Can you send html as well as just the image? Thanks Stephen Nirmalya Lahiri wrote: Yes... you can do it. Instade of direct url image, use the url of a php script written(algorithm) below.. ?php /* Write

Re: [PHP] Strategy to protect images

2008-06-15 Thread Bastien Koert
On Sun, Jun 15, 2008 at 8:51 AM, Stephen [EMAIL PROTECTED] wrote: I am not familiar with this bit of http. It looks like something I want to explore. Can you send html as well as just the image? Thanks Stephen Nirmalya Lahiri wrote: Yes... you can do it. Instade of direct url image,

Re: [PHP] Strategy to protect images

2008-06-15 Thread tedd
At 1:48 PM +0200 6/15/08, Stefano Esposito wrote: Hi all, i have to forbid users of my site to view images directly (i.e. writing the image URL in the address bar) but they'd be able viewing them from the pages of the site. What's the best way of doing it, or something similar? Is there a

Re: [PHP] Strategy to protect images

2008-06-15 Thread Richard Heyes
But, a sophisticated user will find a way around that. A less sophisticated one will use the PrintScr key... :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |

Re: [PHP] Strategy to protect images

2008-06-15 Thread Dmitri
This is how I do it: 1) put image files in folder that is not accessable from browser, like outside of http root dir. 2) in the img src tag point src to script like img src=/image.php?imageID=$someID where $someID is the id of image or name of image you want user to see 3) the image.php

Re: [PHP] Strategy to protect images

2008-06-15 Thread tedd
At 4:11 PM +0100 6/15/08, Richard Heyes wrote: But, a sophisticated user will find a way around that. A less sophisticated one will use the PrintScr key... :-) -- Richard Heyes Must be a windozes thing. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com

Re: [PHP] Strategy to protect images

2008-06-15 Thread Richard Heyes
Must be a windozes thing. :-) I guess so. PrintScr takes a snapshot of the current screen, ie a screenshot and places it on the clipboard. Then you simply paste into something like Paint and save it. -- Richard Heyes Employ me: http://www.phpguru.org/cv

Re: [PHP] Strategy to protect images

2008-06-15 Thread tedd
At 7:35 PM +0100 6/15/08, Richard Heyes wrote: Must be a windozes thing. :-) I guess so. PrintScr takes a snapshot of the current screen, ie a screenshot and places it on the clipboard. Then you simply paste into something like Paint and save it. -- Richard Heyes ` Oh that -- in

Re: [PHP] Strategy to protect images

2008-06-15 Thread Børge Holen
--- Nirmalya Lahiri [+91-9433113536] --- On Sun, 6/15/08, Stefano Esposito [EMAIL PROTECTED] wrote: From: Stefano Esposito [EMAIL PROTECTED] Subject: [PHP] Strategy to protect images To: php-general@lists.php.net Date: Sunday, June 15, 2008, 5:18 PM Hi all, i have to forbid