PTCrypt

From PanoTools.org Wiki
(Difference between revisions)
Jump to: navigation, search
m (2 revision(s))
m (Pointed to new mirror)
 
Line 9: Line 9:
 
=Install=
 
=Install=
 
* make sure Java is installed on your computer
 
* make sure Java is installed on your computer
* download [http://www.path.unimelb.edu.au/~dersch/ptcrypt.zip PTcrypt]
+
* download [http://www.panotools.org/dersch/ptcrypt.zip PTcrypt]
 
* unpack the zip file and put the PTCrypt.jar where convenient to you
 
* unpack the zip file and put the PTCrypt.jar where convenient to you
  

Latest revision as of 01:17, 22 May 2011

PTCrypt is a Java application created by Helmut Dersch as part of Panorama Tools. It is a tool for encrypting JPEG images to make them viewable by PTViewer only in their original web-page context.

(Note that in the future this page is likely to include tricks for circumventing this particular "Copy Protection" scheme. Please feel free to add any such instructions)

Contents

[edit] Install

  • make sure Java is installed on your computer
  • download PTcrypt
  • unpack the zip file and put the PTCrypt.jar where convenient to you

[edit] Encrypt

  • Double-Click on PTCrypt.jar
  • Enter the path to the image. Example:
http://www.photopla.net/pano.php?id=78&gui=modern
  • Browse to the file you want to encrypt and click "Open"
  • Enter the new file name. Choose the extension based on the kind of encryption you want (see encryption option below).
  • Important: keep a backup copy of the unencrypted JPG.

[edit] Encryption Options

Disclaimer: PTCrypt will make stealing panoramas more difficult but not impossible. All encryption scheme supported by PTCrypt have been broken.

[edit] JPC: full path

  • Purpose: prevent stealing. The pano will display only when the applet is displayed in an HTML page at the exact URL entered as path.
  • Advantage: strongest PTCrypt protection.
  • Disadvantage: Can't be used with variables URL (such as those that have GET parameters after the question mark). Can't be used within a Windows file system.
  • Examples when it will not display:
http://www.thieves.com/pano.php?id=78&gui=modern
http://www.photopla.net/pano.php?id=78&gui=antique
C:\downloaded\panorama.jpc

[edit] JPB: partial path

  • Purpose: more flexibility than JPC
  • Advantage: will run also from a local file system
  • Disadvantage: easy to steal
  • Example when it will display and should not:
http://www.thieves.com/www.photopla.net/pano.php?id=78&gui=modern

[edit] JPA: fixed key

  • Purpose: prevent editing.
  • Advantage: most flexible - can be displayed everywhere
  • Disadvantage: no theft protection
Personal tools
Namespaces

Variants
Actions
Navigation
tools
Tools