Copy protection for images and image encryption.
Support FAQs Search support topics by keyword  
 All Forums
 Link Protect
 Link Protect
 Protecting java applets?
 
Previous Topic Topic Next Topic  
Posted - Oct 19 2002 :  05:08:18  Show Profile  Reply with Quote
Is there a way to protect java applets with this script? I can get it to display the page, but there is a grey box instead of the applet. All the supporting files are in the same directory but it seems that the class files remain "hidden" from the applet so to speak. Or is there a better way to protect pages with applets in them?
 
Posted - Oct 19 2002 :  19:12:21  Show Profile  Reply with Quote
Most applets use a local reference for their class files and image files. All files are usually in the same folder as the applet/page.

If you use Link Protect to display a page displaying an applet, you will need to add a codebase statement to the applet parameters. Otherwise it will not find the files because they haven't been defined... their location is secret.

If you do use a codebase statement, the applet will look for both the class files and images in the defined folder:

<applet codebase=/foldername code=your.class height=206 width=366>

You cannot use a CGI script link to point to the image/class files from within the applet parameters.
Go to Top of Page
Posted - Oct 19 2002 :  22:46:09  Show Profile  Reply with Quote
That did the trick. I also had to point a parameter of the applet in the right direction, but it works like a champ. Thanks a bunch.
Go to Top of Page
Previous Topic Topic Next Topic  
ArtistScope CD | CopySafe | Scroll Image | Secure ImageZoom Image | Purchase | TechniquesPlatformsSupport | Site Map | Contact
Copyright © 1998-2008 ArtistScope. All Rights Reserved.