Newbie to Kprotect ... please help

  • I can't figure out how to get the kprotect tool to work with my structure.

    Structure layout: Example is for a view of a golf hole

    hole1/
    hole1_images/ (multirez images)
    images/ (jpeg of map hole)
    logos/ (jpeg of my logo)
    plugins/ (textfield/soundinterface)
    skins/ (skins for pano)

    hole1.html - currently uses krpano.swf and hole1.xml
    hole1.xml - xml for pano
    krpano.license
    krpano.swf
    swfkrpano.js

    ----------------------------------------------------------

    I will have eventually have 6 holes each with an xml and multirez image folder.

    I want to protect these files before I distribute them. Having trouble figuring out what I need to do with kprotect.

    Klaus gave this answer in a previous thread which I think is exactly what I want to do. Here was his answer:

    1. create domain locked swf file with a embedded license with the kprotect and use it instead the normal krpano.swf
    2. encrypt the external xml files with the kprotect tool (Encryption Tool tab)

    then you can keep your folder structure and don't need to embed anything,


    Not sure how to accomplish his two steps. Any help would be greatly appreciated.

    Thanks.

  • Yes I have done that.

    With this complete are the next 2 statements true?

    kpano.license can be removed from my working directory?

    change html to now call new xxxxx.swf rather than the kpano.swf file?

  • Hi,

    here a more detailed description:

    Quote

    1. create domain locked swf file with a embedded license with the kprotect and use it instead the normal krpano.swf

    - start the kprotect tool
    - select the paths to your licenses on the first start
    - select SWF Protection Mode - (x) Domain Limited
    - add your domains with the "Add Domain" Button
    - save the new .swf with "Genereate Protected File"
    - edit the HTML and set there the name of your new .swf instead of the krpano.swf

    Quote

    2. encrypt the external xml files with the kprotect tool (Encryption Tool tab)

    - start the kprotect tool
    - go to the "Encryption Tool" tab
    - add all files to encrypt by the "Add Files" or "Add Folder" buttons
    - press "Encrypt Now"

    best regards,
    Klaus

  • Thanks Klaus,

    I encrypted all of my files and folders.

    I did everything like you said and all seemed to work well.
    Ran it locally and it worked fine.

    When I put it on the website the 2nd xml file that is called gets
    a malformed #1090 error. It was encrypted just like the other
    xml files.

    I looked at the xml file and I don't have any special characters in it.

    Any ideas?

    Thanks.

  • Klaus,

    On the encryption-tool tab there are button options to rename original files/overwrite/move/move to folder.
    How do I change to another button? It won't let me change rename original files. What am I doing wrong?

    Thanks

  • Hi,

    On the encryption-tool tab there are button options to rename original files/overwrite/move/move to folder.
    How do I change to another button? It won't let me change rename original files. What am I doing wrong?

    these options are not ready (implemented) at the moment...
    maybe in the next release,

    best regards,
    Klaus

  • Thanks. Will be looking forward to it.

    Klaus for branding purposes I want to encrypt the swfkrpano.js file. For some reason whenever I use the tool to encrypt it the
    pano will not come up. As soon as I replace the encrypted one with the original one all is fine. I have tried encrypting it a couple
    of time and I always get the same results.

    The reason I want to encrypt it is because it has krpano embedded within the code.

    Any other ideas that you might have to resolve this problem?

    Thanks.

  • Have you tried using the nojs.html template found in the tools html templates? It wouldn't work if you need iPhone support, but otherwise it might fit your needs.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!