You are not logged in.

1

Monday, June 25th 2012, 3:01am

Ready to buy - but just want to be sure others can't simply steal my code!

I've seen enough of KRPano and want to purchase (mainly because I want to use the gyro plugin(

If I purchase, what is there to stop someone stealing my code??
My primary use with by HTML5 - if it's HTML5, what is there to stop someone from JUST stealing the code and using for their own purpose?? :(
It's only Javascript after all?

Or am I missing something?

Thanks


Omar

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Monday, June 25th 2012, 9:56am

Hai Omar,

you can encrypt your code and that works also on html5, mobile devices.
for desktop you can even encrypt the photo.

The forum is quite openminded and we are here to learn, share and let krpano grow even more.

so, here a code gift.
*g*

gallery.xml

that is the gallery of this ipad version..
http://virtualtuur.com/tuur/mobile/sunlodge/

cheers,
Tuur *thumbsup*

3

Monday, June 25th 2012, 1:44pm

Hai Omar,

you can encrypt your code and that works also on html5, mobile devices.
for desktop you can even encrypt the photo.

The forum is quite openminded and we are here to learn, share and let krpano grow even more.

so, here a code gift.
*g*

index.php?page=Attachment&attachmentID=798

that is the gallery of this ipad version..
http://virtualtuur.com/tuur/mobile/sunlodge/

cheers,
Tuur *thumbsup*
ooohh... very nice. love your work :)
very impressed

encryption: i'm reassured. will definitely buy now

question: the hot spots, is that part of krpano?
how about your mini map? is that something you coded yourself?
(and where did u get that beam from on the mini map?? omg - i just loved that. looks awesome)

question: how many photos did you take to create each scene?
i've been told if i get a fish eye lens then i can do it in 3 shots (+ one for above and one for below)

can you say a bit more about the pano head you have?

*thanks*

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Monday, June 25th 2012, 2:22pm

Hi Omar,

the hotspots in that example are krpano stock hotspots but you can make your own easy.
the map is delivered by the client (just took it from their site) and made it small.
the radar (beam) is krpano.
this is all custom coding i learned here at the forum.
i am a bit further now ;-)

this is done with canon 50D, sigma 8mm (6 around, 1 up , 1 down) Nodal ninja 3

hope it helps!

Tuur *thumbsup*

5

Monday, June 25th 2012, 3:09pm

tuur: thank u :)
helps loads

6

Monday, June 25th 2012, 8:45pm

Tuur,

This example fails on an iPhone. Do you use a separate link for them?

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

7

Monday, June 25th 2012, 11:34pm

Mmmm..
No, same link
Different xml path
Here it works
Strange

Try again
Tuur *thumbsup*

8

Tuesday, June 26th 2012, 2:22am

u seem to have it set so that it ONLY displays when viewed landscape and doesn't look ok when viewed in portral
on my ipad, i have to flip over to see the tour

i thought u intended this?

9

Tuesday, June 26th 2012, 4:48am

Ok, cleared phone cache and it works. I must have had an old XML file stuck in memory. *g*

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

11

Wednesday, June 27th 2012, 1:14pm

On a related subject, I've noticed that the editor plugin seems capable of unencrypting the encrypted XML files. Since this makes it fairly easy for anyone determined enough to break it, is there any way to avoid this?

12

Monday, July 9th 2012, 11:53am

Hi,

the editor plugin doesn't directly 'unencrypt' the xml, it rebuilds the xml structure dynamically by reading out all currently elements and settings.
is there any way to avoid this?
Yes, you can disable the external interfaces and embed the xml and plugin files into the swf with the krpano Protect Tool.

Best regards,
Klaus

13

Monday, July 9th 2012, 12:20pm

Hi,

the editor plugin doesn't directly 'unencrypt' the xml, it rebuilds the xml structure dynamically by reading out all currently elements and settings.
is there any way to avoid this?
Yes, you can disable the external interfaces and embed the xml and plugin files into the swf with the krpano Protect Tool.

Best regards,
Klaus
But if everything's embedded into the .swf, doesn't this prevent it from running on an iPhone? Sorry if I'm being dense here!

14

Monday, July 9th 2012, 12:28pm

Right, sorry, I haven't re-read your first post about the HTML5 usage .
Then in this case there is only the possibility to encrypt the xml itself, but reading out variables by the interface will be possible.

If your are planing to write very special and unique code, then you could also write a Javascript plugin and protect your code there and optionally also with the krpano encryption. Then your code will be not read-able from extern in any way.

Best regards,
Klaus

15

Monday, July 9th 2012, 12:30pm

Right, sorry, I haven't re-read your first post about the HTML5 usage .
Then in this case there is only the possibility to encrypt the xml itself, but reading out variables by the interface will be possible.

If your are planing to write very special and unique code, then you could also write a Javascript plugin and protect your code there and optionally also with the krpano encryption. Then your code will be not read-able from extern in any way.

Best regards,
Klaus
Might be worth looking into! It's probably excessively paranoid to be thinking of this stuff, but I just feel like it's worth exploring my options.

Thanks for your replies.

16

Monday, July 9th 2012, 12:33pm

For making JS plugins see here:
http://krpano.com/docu/plugininterface/#js

Best regards,
Klaus

Zephyr

Professional

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

17

Thursday, July 12th 2012, 2:11pm

In the end it's all javascript, so it's always open. Google chrome autoformats minified code for example when viewed in source, makes it pretty readable. Only thing you can do is make it a bit harder with uglify/obfuscating. Which makes it harder to read and alter, but works fine if you just copy paste.

Or make it reliable to a server. For example, I have javascript apps that communicate through ajax with REST. Cool that you can copy paste code, but it wont do anything without the proper json responses of the server. Even this would be hackable by mimcing the server. But come on it's just a panorama tour with a graphic map etc :D :p

you could alsoo put alot of footprint in there. iow comments, author mentions, start functions with AJ (AdolfoJunge)

Rather share code on the forum ;) I bet 90% of the code you have now is from the droplet, combined with some nifty code and tricks from people on this forum.

18

Thursday, July 12th 2012, 2:15pm

In the end it's all javascript, so it's always open. Google chrome autoformats minified code for example when viewed in source, makes it pretty readable. Only thing you can do is make it a bit harder with uglify/obfuscating. Which makes it harder to read and alter, but works fine if you just copy paste.

Or make it reliable to a server. For example, I have javascript apps that communicate through ajax with REST. Cool that you can copy paste code, but it wont do anything without the proper json responses of the server. Even this would be hackable by mimcing the server. But come on it's just a panorama tour with a graphic map etc :D :p

you could alsoo put alot of footprint in there. iow comments, author mentions, start functions with AJ (AdolfoJunge)

Rather share code on the forum ;) I bet 90% of the code you have now is from the droplet, combined with some nifty code and tricks from people on this forum.
I'd love to share more, but in truth it's less me that's concerned about security and more my directors wanting to protect the company.

I'm also proud to say that none of the code is from the droplet at this point =P