You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, May 30th 2010, 6:01pm

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.

2

Sunday, May 30th 2010, 6:32pm

For step # 1, Have you gone to kprotect to the settings tab and installed the current krpano.swf and also installed your license?

3

Monday, May 31st 2010, 12:25pm

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?

4

Tuesday, June 1st 2010, 10:02am

Hi,

here a more detailed description:

Quoted

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

Quoted

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

5

Friday, June 11th 2010, 1:03am

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.

6

Friday, June 11th 2010, 5:06am

Klaus,

I encrypted the file again and all seems to work fine.

Thanks again for your help.

7

Friday, June 11th 2010, 5:09am

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

8

Tuesday, June 15th 2010, 11:20am

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

9

Tuesday, June 15th 2010, 5:59pm

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.

10

Tuesday, June 15th 2010, 7:02pm

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.

11

Monday, June 21st 2010, 4:43pm

Hi,
Klaus for branding purposes I want to encrypt the swfkrpano.js file.
the html and javascript files are outside and independent of flash,
they are used to embed the krpano flash object into the html page,
so they can't be encrypted/decrypt,

you could just use a other flash to html embedding method,
have a look here:
http://krpano.com/docu/html/

best regards,
Klaus