[PHP] Browser Control Help

2005-12-05 Thread Chirantan Ghosh
Hi All,

I was wondering how do in trick in PHP page head part?

I want to disable Ctrl, Atl, Print Screen and also remove the File, Edit, View 
menus from the browser.

I already have a working version with disabled Ctrl, Atl, Print Screen ( 
http://www.art-nyc.us/ )but I need some help with coding with the later.

If someone can please help me remove the File, Edit, View menus from the 
browser in PHP it would help a LOT.

Thanks,
C


RE: [PHP] Browser Control Help

2005-12-05 Thread Jay Blanchard
[snip]
I was wondering how do in trick in PHP page head part?

I want to disable Ctrl, Atl, Print Screen and also remove the File, Edit,
View menus from the browser.

I already have a working version with disabled Ctrl, Atl, Print Screen (
http://www.art-nyc.us/ )but I need some help with coding with the later.

If someone can please help me remove the File, Edit, View menus from the
browser in PHP it would help a LOT.
[/snip]

You need JavaScript, not PHP. JavaScript is client-side, PHP is server-side.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Browser Control Help

2005-12-05 Thread Chirantan Ghosh

Thanks Jay,

In the site of example I did in JS :)
I thought It would be improvement if there was something similar then I 
could use it for other things later.


Thanks again,
C

- Original Message - 
From: Jay Blanchard [EMAIL PROTECTED]
To: 'Chirantan Ghosh' [EMAIL PROTECTED]; 
php-general@lists.php.net

Sent: Monday, December 05, 2005 10:08 AM
Subject: RE: [PHP] Browser Control Help



[snip]
I was wondering how do in trick in PHP page head part?

I want to disable Ctrl, Atl, Print Screen and also remove the File, Edit,
View menus from the browser.

I already have a working version with disabled Ctrl, Atl, Print Screen (
http://www.art-nyc.us/ )but I need some help with coding with the later.

If someone can please help me remove the File, Edit, View menus from the
browser in PHP it would help a LOT.
[/snip]

You need JavaScript, not PHP. JavaScript is client-side, PHP is 
server-side.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Browser Control Help

2005-12-05 Thread Chirantan Ghosh

Hi Dan,

You are sooo right. We know certain kindda people would love to break the 
code just cuz its  there :D


I am least worried about programmers. Its stupid rich  Art collage kids I am 
trying to prevent using my stuff. You would be amazed to know I walked in 
SVA( School of Visual Arts), NYC  saw my painting exactly as is  printed in 
their merit list with a kid's name under.


What I want to achieve is, only my homepage will have File, View, Edit 
menus. I have mapped navigation over images, once they go anywhere it should 
open a window that has no menus like http://creative.gettyimages.com/ uses 
for display of images.


I am not even sweating hot-linking.

Thanks  a lot for the input,
C

- Original Message - 
From: Dan Parry [EMAIL PROTECTED]

To: 'Chirantan Ghosh' [EMAIL PROTECTED]
Sent: Monday, December 05, 2005 10:32 AM
Subject: RE: [PHP] Browser Control Help



Hi

No probs... I hate cross-browser problems myself and any help I get with
them I appreciate :)

Securing your public facing graphics and/or code is essentially too
difficult to achieve... You can't (I'm pretty sure of this) remove (or
disable) the menus in the browser (security implications there)

There are usually ways around these client-side types of protection too...
consider that if a person really does want to see your code/steal your 
pics

they will look for ways around the system... Usually these exist with
injection of JS into the URL (this is evident in at least 1 commercial
system... can't remember what it is though :) )

Also, if a user can get your image path (on hover in Opera, for instance)
the image URL can be directly input and stolen from there

I decided a while ago to bite the bullet and accept that there are things 
I
can't protect... I can't remember much of the research I did on the 
subject

but it was pretty damning

Last point... There are people out there that will break security on your
site purely because it's there

That's my 2 penn'orth :)

Dan
-Original Message-
From: Chirantan Ghosh [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 15:20
To: Dan Parry
Subject: Re: [PHP] Browser Control Help

Hi Dan,

Thanks a lot man...as you can guess I am more a designer than a coder
(unfortunately).
Do you know how to fix the problem for Firefox?

I really would appreciate the help.
Thanks,
C

- Original Message - 
From: Dan Parry [EMAIL PROTECTED]

To: 'Chirantan Ghosh' [EMAIL PROTECTED]
Sent: Monday, December 05, 2005 10:14 AM
Subject: RE: [PHP] Browser Control Help



Not disabled in Firefox... Just did some copying and printed a screen...
also disabling ALT doesn't affect printscreen in IE... just took a 
screeny

there too

-Original Message-
From: Chirantan Ghosh [mailto:[EMAIL PROTECTED]
Sent: 05 December 2005 15:05
To: php-general@lists.php.net
Subject: [PHP] Browser Control Help

Hi All,

I was wondering how do in trick in PHP page head part?

I want to disable Ctrl, Atl, Print Screen and also remove the File, Edit,
View menus from the browser.

I already have a working version with disabled Ctrl, Atl, Print Screen (
http://www.art-nyc.us/ )but I need some help with coding with the later.

If someone can please help me remove the File, Edit, View menus from the
browser in PHP it would help a LOT.

Thanks,
C


__ NOD32 1.1311 (20051202) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com





__ NOD32 1.1311 (20051202) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Browser Control Help

2005-12-05 Thread Jim Moseby
As Dan has correctly pointed out, you can only hope to make stealing your
content less convenient, though only marginally so.  If you display a
picture on my browser, all I have to do to steal it is hit my Print Screen
button, then paste it into PhotoShop.  There are any number of other ways to
get it too.

My guess is that Visual Arts students will be pretty good at manipulating
images on a computer, and that, unfortunately, you will not be able to
thwart a determined content thief.

JM

PS  Top posting here since it seems to be the in thing to do on this
thread.

 
 Hi Dan,
 
 You are sooo right. We know certain kindda people would love 
 to break the 
 code just cuz its  there :D
 
 I am least worried about programmers. Its stupid rich  Art 
 collage kids I am 
 trying to prevent using my stuff. You would be amazed to know 
 I walked in 
 SVA( School of Visual Arts), NYC  saw my painting exactly as 
 is  printed in 
 their merit list with a kid's name under.
 
 What I want to achieve is, only my homepage will have File, 
 View, Edit 
 menus. I have mapped navigation over images, once they go 
 anywhere it should 
 open a window that has no menus like 
 http://creative.gettyimages.com/ uses 
 for display of images.
 
 I am not even sweating hot-linking.
 
 Thanks  a lot for the input,
 C
 
 - Original Message - 
 From: Dan Parry [EMAIL PROTECTED]
 To: 'Chirantan Ghosh' [EMAIL PROTECTED]
 Sent: Monday, December 05, 2005 10:32 AM
 Subject: RE: [PHP] Browser Control Help
 
 
  Hi
 
  No probs... I hate cross-browser problems myself and any 
 help I get with
  them I appreciate :)
 
  Securing your public facing graphics and/or code is essentially too
  difficult to achieve... You can't (I'm pretty sure of this) 
 remove (or
  disable) the menus in the browser (security implications there)
 
  There are usually ways around these client-side types of 
 protection too...
  consider that if a person really does want to see your 
 code/steal your 
  pics
  they will look for ways around the system... Usually these 
 exist with
  injection of JS into the URL (this is evident in at least 1 
 commercial
  system... can't remember what it is though :) )
 
  Also, if a user can get your image path (on hover in Opera, 
 for instance)
  the image URL can be directly input and stolen from there
 
  I decided a while ago to bite the bullet and accept that 
 there are things 
  I
  can't protect... I can't remember much of the research I did on the 
  subject
  but it was pretty damning
 
  Last point... There are people out there that will break 
 security on your
  site purely because it's there
 
  That's my 2 penn'orth :)
 
  Dan
  -Original Message-
  From: Chirantan Ghosh [mailto:[EMAIL PROTECTED]
  Sent: 05 December 2005 15:20
  To: Dan Parry
  Subject: Re: [PHP] Browser Control Help
 
  Hi Dan,
 
  Thanks a lot man...as you can guess I am more a designer 
 than a coder
  (unfortunately).
  Do you know how to fix the problem for Firefox?
 
  I really would appreciate the help.
  Thanks,
  C
 
  - Original Message - 
  From: Dan Parry [EMAIL PROTECTED]
  To: 'Chirantan Ghosh' [EMAIL PROTECTED]
  Sent: Monday, December 05, 2005 10:14 AM
  Subject: RE: [PHP] Browser Control Help
 
 
  Not disabled in Firefox... Just did some copying and 
 printed a screen...
  also disabling ALT doesn't affect printscreen in IE... just took a 
  screeny
  there too
 
  -Original Message-
  From: Chirantan Ghosh [mailto:[EMAIL PROTECTED]
  Sent: 05 December 2005 15:05
  To: php-general@lists.php.net
  Subject: [PHP] Browser Control Help
 
  Hi All,
 
  I was wondering how do in trick in PHP page head part?
 
  I want to disable Ctrl, Atl, Print Screen and also remove 
 the File, Edit,
  View menus from the browser.
 
  I already have a working version with disabled Ctrl, Atl, 
 Print Screen (
  http://www.art-nyc.us/ )but I need some help with coding 
 with the later.
 
  If someone can please help me remove the File, Edit, View 
 menus from the
  browser in PHP it would help a LOT.
 
  Thanks,
  C
 
 
  __ NOD32 1.1311 (20051202) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 
 
 
  __ NOD32 1.1311 (20051202) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 
  
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Browser Control Help

2005-12-05 Thread Jason Petersen
I wish I had a dollar every time I've seen a question like yours, it seems
like a lot of new developers think they need to fundamentally alter the way
the browser works to protect their content.  The fact is, if you're
putting content on the public web, it can--and will--be downloaded by all of
your visitors.  (they have to download it to display it after all)

You're going the wrong way about protecting your images.  No matter what
Javascript tricks you try to use, all I have to do is disable Javascript.
And you're going to seriously annoy your visitors who are not technically
savvy, whether they have the intention to steal your content or not.
Personally I would not come back to a site that assumes I'm a thief.

You might want to look into other methods to protect your content, such as
login authentication and watermarking. PHP can help with these.  But if you
come on this list and demand ridiculous things, don't expect to be taken
seriously.

A better way to ask your original question would have been: How can PHP
help protect web content?

Best,
Jason



On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:

 Hi Jason,

 You sound offended...Happy Christmas to you too!
 If you really wanted to know what I was addressing please read what Dan
 (Parry) wrote.

 Keep smiling after all its Dec,
 C

 - Original Message -
 *From:* Jason Petersen [EMAIL PROTECTED]
 *To:* Chirantan Ghosh [EMAIL PROTECTED]
 *Sent:* Monday, December 05, 2005 10:57 AM
 *Subject:* Re: [PHP] Browser Control Help

 1. PHP is server side, not client side.
 2. You don't have a working version, my browser is fully functional on
 your site.
 2. No one is interested in ripping off your Dreamweaver-generated site
 anyway.

 Best,
 Jason


 On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:
 
  Hi All,
 
  I was wondering how do in trick in PHP page head part?
 
  I want to disable Ctrl, Atl, Print Screen and also remove the File,
  Edit, View menus from the browser.
 
  I already have a working version with disabled Ctrl, Atl, Print Screen (
  http://www.art-nyc.us/ )but I need some help with coding with the later.
 
  If someone can please help me remove the File, Edit, View menus from the
  browser in PHP it would help a LOT.
 
  Thanks,
  C
 
 



Re: [PHP] Browser Control Help

2005-12-05 Thread Chirantan Ghosh

Thanks Jason,

I am always ready to be enlightened by ones who know better than me.

As you suggested, I really would love to get a watermark which is invisible 
with initial viewing but activated once a copying/printing command ( Can be 
Ctrl+C or Alt+Printscreen) is used.


If you can help it would be delighting.

Thanks,
C

- Original Message - 
From: Jason Petersen [EMAIL PROTECTED]

To: Chirantan Ghosh [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, December 05, 2005 11:27 AM
Subject: Re: [PHP] Browser Control Help


I wish I had a dollar every time I've seen a question like yours, it seems
like a lot of new developers think they need to fundamentally alter the way
the browser works to protect their content.  The fact is, if you're
putting content on the public web, it can--and will--be downloaded by all of
your visitors.  (they have to download it to display it after all)

You're going the wrong way about protecting your images.  No matter what
Javascript tricks you try to use, all I have to do is disable Javascript.
And you're going to seriously annoy your visitors who are not technically
savvy, whether they have the intention to steal your content or not.
Personally I would not come back to a site that assumes I'm a thief.

You might want to look into other methods to protect your content, such as
login authentication and watermarking. PHP can help with these.  But if you
come on this list and demand ridiculous things, don't expect to be taken
seriously.

A better way to ask your original question would have been: How can PHP
help protect web content?

Best,
Jason



On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:


Hi Jason,

You sound offended...Happy Christmas to you too!
If you really wanted to know what I was addressing please read what Dan
(Parry) wrote.

Keep smiling after all its Dec,
C

- Original Message -
*From:* Jason Petersen [EMAIL PROTECTED]
*To:* Chirantan Ghosh [EMAIL PROTECTED]
*Sent:* Monday, December 05, 2005 10:57 AM
*Subject:* Re: [PHP] Browser Control Help

1. PHP is server side, not client side.
2. You don't have a working version, my browser is fully functional on
your site.
2. No one is interested in ripping off your Dreamweaver-generated site
anyway.

Best,
Jason


On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:

 Hi All,

 I was wondering how do in trick in PHP page head part?

 I want to disable Ctrl, Atl, Print Screen and also remove the File,
 Edit, View menus from the browser.

 I already have a working version with disabled Ctrl, Atl, Print Screen (
 http://www.art-nyc.us/ )but I need some help with coding with the later.

 If someone can please help me remove the File, Edit, View menus from the
 browser in PHP it would help a LOT.

 Thanks,
 C





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Browser Control Help

2005-12-05 Thread Duncan Hill
On Monday 05 December 2005 16:36, Chirantan Ghosh wrote:
 As you suggested, I really would love to get a watermark which is invisible
 with initial viewing but activated once a copying/printing command ( Can be
 Ctrl+C or Alt+Printscreen) is used.

Once the browser has the content, it's out of PHP's hands.  It's on the disk 
of the remote client, and they can do what they like with it.  To print an 
image or web page that's in my disk cache, I don't need to use my web browser 
- I can just go to the cache in my file manager and print it.

Unless you write a dedicated viewing application that must be used to view the 
content, you're not going to have much luck.

If you want a watermark on print, just watermark the image anyway.

Steganography might help, but only in the digital world.

Are you sure you're tackling the right problem from the right angle?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Browser Control Help

2005-12-05 Thread Dan Parry
Rather than trying to prevent theft of your images why not create a little
app that steganographs some copyright information... With some thought it's
possible to hide textual content within an image

At least then you can prove it was yours... Just a thought

Dan

-Original Message-
From: Chirantan Ghosh [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2005 16:37
To: Jason Petersen
Cc: php-general@lists.php.net
Subject: Re: [PHP] Browser Control Help

Thanks Jason,

I am always ready to be enlightened by ones who know better than me.

As you suggested, I really would love to get a watermark which is invisible 
with initial viewing but activated once a copying/printing command ( Can be 
Ctrl+C or Alt+Printscreen) is used.

If you can help it would be delighting.

Thanks,
C

- Original Message - 
From: Jason Petersen [EMAIL PROTECTED]
To: Chirantan Ghosh [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Monday, December 05, 2005 11:27 AM
Subject: Re: [PHP] Browser Control Help


I wish I had a dollar every time I've seen a question like yours, it seems
like a lot of new developers think they need to fundamentally alter the way
the browser works to protect their content.  The fact is, if you're
putting content on the public web, it can--and will--be downloaded by all of
your visitors.  (they have to download it to display it after all)

You're going the wrong way about protecting your images.  No matter what
Javascript tricks you try to use, all I have to do is disable Javascript.
And you're going to seriously annoy your visitors who are not technically
savvy, whether they have the intention to steal your content or not.
Personally I would not come back to a site that assumes I'm a thief.

You might want to look into other methods to protect your content, such as
login authentication and watermarking. PHP can help with these.  But if you
come on this list and demand ridiculous things, don't expect to be taken
seriously.

A better way to ask your original question would have been: How can PHP
help protect web content?

Best,
Jason



On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:

 Hi Jason,

 You sound offended...Happy Christmas to you too!
 If you really wanted to know what I was addressing please read what Dan
 (Parry) wrote.

 Keep smiling after all its Dec,
 C

 - Original Message -
 *From:* Jason Petersen [EMAIL PROTECTED]
 *To:* Chirantan Ghosh [EMAIL PROTECTED]
 *Sent:* Monday, December 05, 2005 10:57 AM
 *Subject:* Re: [PHP] Browser Control Help

 1. PHP is server side, not client side.
 2. You don't have a working version, my browser is fully functional on
 your site.
 2. No one is interested in ripping off your Dreamweaver-generated site
 anyway.

 Best,
 Jason


 On 12/5/05, Chirantan Ghosh [EMAIL PROTECTED] wrote:
 
  Hi All,
 
  I was wondering how do in trick in PHP page head part?
 
  I want to disable Ctrl, Atl, Print Screen and also remove the File,
  Edit, View menus from the browser.
 
  I already have a working version with disabled Ctrl, Atl, Print Screen (
  http://www.art-nyc.us/ )but I need some help with coding with the later.
 
  If someone can please help me remove the File, Edit, View menus from the
  browser in PHP it would help a LOT.
 
  Thanks,
  C
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

__ NOD32 1.1311 (20051202) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Browser Control Help

2005-12-05 Thread John Nichel

Chirantan Ghosh wrote:

Thanks Jason,

I am always ready to be enlightened by ones who know better than me.

As you suggested, I really would love to get a watermark which is 
invisible with initial viewing but activated once a copying/printing 
command ( Can be Ctrl+C or Alt+Printscreen) is used.


If you can help it would be delighting.


New to mailing lists, aren't you?  You're well on your way to breaking 
every 'rule'...hell, you broke the number one rule just by asking the 
question, as it's quite obvious what you _have not_ done.


--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php