Iframe for logged in users only

Hello,
i start using shapediver and try to find out if i better embed an iframe into my own shop or use shapedivers plugin for shopify. Mathias and Edwin recommended to ask into the forum which i now do.
As i understand right, an iframe is a fixed url to a shapediver configurator like in this example:

which will lead us to:
https://www.shapediver.com/app/iframe?modelViewUrl=https%3A%2F%2Fsdeuc1.eu-central-1.shapediver.com&ticket=c6dd28b7b40ff7ebe12b4eb7b0706945895ea97af6a2a99ea585e71e0300f73d58e30630af66c3e8d573851b560e422df1a4799493b4629d711dc4999efb3bf784f5365a4e8f69c0694781d734e4d6d5121825d598f7503ca44b35d7d1074e0adb4e041bddff4f-3618d72b93e898bb7907bda1f028e9a4&primaryColor=%23317DD4&secondaryColor=%23393A45&surfaceColor=%23FFFFFF&backgroundColor=%23F8F8F8&showControls=1&showZoomButton=1&showFullscreenButton=1&logo

Does anybody have experience with giving only logged in users of my shop the possibility to view the iframe, and not beeing able to bypass by using the iframes url?

Thanks Henning

You can of course on your side hide the ShapeDiver iframe behind an authentication process. However, anyone with the iframe url can follow it to view your model at the moment. This is something we will improve in the future. For the time being, if preventing access to this url is crucial to your application, you could use the viewer API (which the shopify plugin is based on) and setup a deeper connection between the ShapeDiver file exports and orders in your webshop.

Thanks Mathieu,
i’ll give the viewer API a try.
Henning