Sie sind nicht angemeldet.

noupunt

Schüler

  • »noupunt« ist der Autor dieses Themas

Beiträge: 47

Wohnort: Barcelona

Beruf: Photographer and full stack developer

  • Nachricht senden

1

Montag, 16. August 2021, 19:35

protect an action even if javascript interface is enabled

Hello!

I there any way to protect a single action of being called from the console (so you can't do that -> "krpano.call('critical_action()');") if the javascript interface is ENABLED?

thanks!

2

Montag, 16. August 2021, 22:12

Hi,

that's not possible, but the opposite - disabling the Javascript interface and explicitly allowing certain actions to be called:
https://krpano.com/docu/xml/#action.secure

Best regards,
Klaus

noupunt

Schüler

  • »noupunt« ist der Autor dieses Themas

Beiträge: 47

Wohnort: Barcelona

Beruf: Photographer and full stack developer

  • Nachricht senden

3

Dienstag, 17. August 2021, 12:17

Ok thanks!!