Copy protection for images on web sites and CD The ultimate solution!
    Home     About     Customisation     Demonstrations     Developers     Evaluation     Help     Licensing     Support Forum     Contact  
Support FAQs Search support topics by keyword  
 All Forums
 Java Webcam URL
 
 Topic   
Posted - Dec 09 2002 :  23:26:11  
I have installed a web cam image that is protected by Link Protect, but have a problem.... With an html refresh code it works, but when I try to use java, I get either no image or a protected image... the script is as follows :

<APPLET code="JavaCam.class" width=320 height=240>
<PARAM name="url" value="../../cgi-bin/protect.pl?File=my_image.jpg">
<PARAM name="interval" value="5">
</APPLET><BR>

I tried to add the java to the protected folder, but to no avail. Any ideas?
.
Posted - Dec 10 2002 :  03:39:48  
You cannot use a cgi link in an applet parameter.

It will be better to use Link Protect to call a page that delivers the applet. As the page is delivered by cgi, local references will not work unless you add a codebase statement.

See http://support.artistscope.com/support/topic.asp?TOPIC_ID=2&SearchTerms=codebase
Go to Top of Page
Posted - Dec 10 2002 :  18:04:49  
But I would like to just protect the image..... I am sorry, I am a newbie with just enough knowledge to be dangerous... I tried this, with the javacam.class in the folder videocam1, but no no avail:

<applet codebase=/videochat1 code="JavaCam.class" height="320" width="240" id="JavaCam">
<PARAM name="url" value="../../cgi-bin/protect.pl?File=mywebcam.jpg">
<PARAM name="interval" value="5">
</APPLET>
.
Go to Top of Page
Posted - Dec 10 2002 :  22:51:52  
Try changing it to:

<applet codebase=/videochat1 code="JavaCam.class" height="320" width="240" id="JavaCam">
<PARAM name="url" value="mywebcam.jpg">
<PARAM name="interval" value="5">
</APPLET>

The images need to be in the codebase folder.
Go to Top of Page
Posted - Dec 10 2002 :  23:53:00  
But since I need to "protect" the image, and the codebase shows to the world the location of the "hidden" folder...... Do I then have to protect the whole file....? EEK ! ;-(
Go to Top of Page
Posted - Dec 11 2002 :  02:32:46  
Can you use class and image files in your cgi-bin?
Go to Top of Page
Posted - Dec 11 2002 :  03:37:20  
No sure......
Go to Top of Page
 Topic   

   Copyright © 1998-2008 ArtistScope. All Rights Reserved.