Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

1

Donnerstag, 15. Dezember 2011, 12:45

url security

Hi,

i was wondering with the url add .....com/../bla/krpano.swf?pano=../bla/tour.xml&plugin.visible=false&hotspot.visible=false&

you can easily look to the pano without plugs and hotspots..
If you don't put it all in the swf.

I was wondering if there is a possibility to make a function in the krprotect tool that you can put off the url manipulation.

example:

normal:

http://www.deadmiraal.nl/360

url manipulation:

http://www.deadmiraal.nl/360/skin/vt14.s….visible=false&

Cheers

Tuur *thumbsup*

2

Donnerstag, 15. Dezember 2011, 12:52

Hi,

just enable the "[x] Disable External Parameters" setting in the krpano Protect Tool

best regards,
Klaus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

3

Donnerstag, 15. Dezember 2011, 13:01

Ah great, that's quick!

thanx Klaus!

Tuur *thumbsup*

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

4

Donnerstag, 15. Dezember 2011, 13:03

But if i use an domain free swf with no embedding?

like the output of a droplet?
Maybe i would be nice also with the krprotect tool to make it possible also to generate a non protected swf with this function?

Tuur *thumbsup*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (15. Dezember 2011, 13:25)


Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

5

Donnerstag, 15. Dezember 2011, 13:53

Ok.. so you have a tour without plugins and hotspots...

first you have to be a krpano expert to know this (and there are other ways, for instance quickly writing a javascript connection in the browser console, or see incoming/outgoing requests to the url of the tile). Second.. people would need to take screenshots or download the compressed tiles and put them together.

Even google hasnt solved this :P And just puts a tiny tiny watermark on every tile in maps.

there is no 100% save way

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

6

Donnerstag, 15. Dezember 2011, 14:05

true,
i agree 100%


but you don't want somebody linking to your pano without all plugs and hotspots. And publish that anonymus somewhere..
There are enough assh...s around that like to show off with your product or just being a pain in the ...
That would be too easy to do it like this..
offcourse you can encrypt, but i think you can find all info in the index..

Tuur *thumbsup*

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

7

Donnerstag, 15. Dezember 2011, 15:46

like I said, only one way :P watermark images. In every tile. Perhaps alsoo EXIF in every tile :P But you photographers are so pixelperfectish :P

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

8

Donnerstag, 15. Dezember 2011, 15:56

you miss my point here.

i know it's all possible but this:

http://www.deadmiraal.nl/360/skin/vt14.s….visible=false&

is too easy.

With the other things you have to download stuf and fix again and so on..

Tuur *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

9

Donnerstag, 15. Dezember 2011, 17:35

set plugins and hotspots true in your xml file..
*love*
"hmm maybe thats not the right emoticon.."
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

11

Donnerstag, 15. Dezember 2011, 19:04

keep true still allows to hide hotspots/plugins through url :P

you could do a events.onclick or events.onviewchange or events.onloadcomplete or perhaps even a events.onxmlcomplete onpreviewcomplete with plugin.visible true :) As soon there is interaction or panorama got loaded, it will show the plugins anyway :) or perhaps a

Quellcode

1
2
3
4
5
6
7
8
9
<events name="custom"
onloadcomplete="

if(plugin.visible == false,
showtext('naughty boy for stealing my tour!');
set(plugin.visible, true);

"
/>

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

12

Donnerstag, 15. Dezember 2011, 19:11

I am talking single pano's here.
Yes, the example is a tour.
And yes on view change could be a nice solution.
But doesn't that eat your erformance?
Nice custom zephy!
Tuur *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

13

Donnerstag, 15. Dezember 2011, 19:42

I tried your parameters method. It didn't have much affect on my tours.. except for hotspots.
I initially set ALL my plugins to be visible false, and apparently I don't for hotspots.. then at some point in the load I visible true or tween alpha 1 with autoalpha.
You could group your plugins and hotspots with tags, and do the same.. have everything tween in , which would also be a cool effect. and your worry about someone hotlinking without graphics is gone.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

14

Donnerstag, 15. Dezember 2011, 20:01

He sacha,
Also smart, why didn't i think about that.
Autoalpha?
Group plugins with tags? Do you have small example?
Or do you mean the style tag here...?

Tuur *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

15

Donnerstag, 15. Dezember 2011, 22:50

Auto alpha see documentation! :)
The functions to change all plugins or hotspots with the same attributes. I've linked to it many times. It works MUCH better now with the increase in simultaneous actions limit.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

16

Donnerstag, 15. Dezember 2011, 23:46

You can have like this way:

Quellcode

1
2
3
4
5
6
7
<style name="interface_fader" autoalpha="true" alpha="0" keep="true" onloaded="
if(alpha==0,
   tween(alpha, 1);
);
" />

<plugin name="logo" style="interface_fader" etc />


When the plugin loads, it will always show up. handy for stuff like interface buttons and logos

or you could do a

Quellcode

1
2
3
4
5
6
7
8
9
10
<events
onxmlcomplete="
for(set(i,0), i LT plugin.count, inc(i), 
    if(plugin[get(i)].tag == interface,
  set(plugin[get(i)].visible, true);
  );
);
"
/>
<plugin name="logo" tag="interface" etc />


this will loop through all plugins and set every plugin with the tag interface, its visibility to true. Works alsoo nice, but can be slow if you have lots of plugins. Alsoo I had sometimes the experience it skipped a few. Adding a delayedcall helped.

17

Freitag, 16. Dezember 2011, 13:05

Hi,
But if i use an domain free swf with no embedding?

like the output of a droplet?
it's not directly documented, but for the droplets that can be set too:

the swf from the droplets were build by "kprotectcl" tool (=a command line version of the krpano protect tool),
and in the .config files from the droplets, there additional parameters for the kprotectcl tool can be set by the kprotectclparameters setting,

e.g. to disable the external parameters add this line to the .config files:

Quellcode

1
kprotectclparameters=-noep


when starting the kprotectcl from command line without parameters, then all possiblie parameters will be shown (like also in all other tools):

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
kprotectcl 1.0.8.14 (build 2011-10-21)
	- emded the krpano licenses into the swf file
	- embed files to the swf (xml,images,plugins,...)
	- limit the swf to domains
	- set an expire date

syntax: kprotectcl -o=output.swf [options] <file1|name> ... <fileN|name>

options:
  -o=### ... path/name of output file

  -xml=# 	... startup xml file to embed
  -domain=#  ... limit to domain (can be used more than once)

  -noep ... disable external parameters (http-get, flashvars)
  -nojs ... disable javascript interface
  -nolu ... disable local / offline usage
  -bf   ... branding free

  -expire=YYYY-MM-DD ... set a panorama expire date
  -expiredurl=#  	... url to open at expire date

  -swfsize=# ... set standalone size of the swf (WIDTHxHEIGHT)
  -fs    	... start in fullscreen mode (standalone only)
  -nomb  	... no menu bar (standalone only)
  -fpexe=#   ... path to flashplayer standalone player exe file (Windows only)

  -filelist=filelist.txt ... path to a textfile with paths for embedded files
                     	can be used instead of passing the files as parameters

  -q / -quiet ... suppress output messages

  <file|name> ... files to embed
              	file = path to the file
              	name = name of the embedded file (optional)



Maybe i would be nice also with the krprotect tool to make it possible also to generate a non protected swf with this function?
there will be a rework of krpano Protect Tool in a few versions, where this will be possible,

best regards,
Klaus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

18

Freitag, 16. Dezember 2011, 16:49

Great!
Thanks Klaus, Sacha and Zephyr for clear things up.

Tuur *thumbsup*