Protected assets exposed

Is it correct that protected PDF assets are exposed to Google for the preview rendering?

I found this code in the preview tab when I edit the pdf:

<iframe _ngcontent-ng-c3125918116="" id="iframe-doc-viewer" frameborder="0" src="https://docs.google.com/gview?url=https%3A%2F%2F***%2Fapi%2Fassets%2Fpim%2F934fdc01-2d1a-4d6f-925e-aa97647f2548%zertifikat-***.pdf%3Faccess_token%3DeyJhbGciOiJSUzI1NiIsImtpZCI6IkR0cFh1RkczOU5rbGtmRUpvR3RmV0EiLCJ0eXAiOiJhdCtqd3QifQ.eyJzdWIiOiI2NTY1ZWNhNmU0NTBkMDE3MzEwNTk3MDIiLCJuYW1lIjoiZWNvbW1lcmNlLmluZm9AYXByb2RhLmNoIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZW1haWxhZGRyZXNzIjoiZWNvbW1lcmNlLmluZm9AYXByb2RhLmNoIiwidXJuOnNxdWlkZXg6cGVybWlzc2lvbnMiOiJzcXVpZGV4LmFkbWluLioiLCJlbWFpbCI6ImVjb21tZXJjZS5pbmZvQGFwcm9kYS5jaCIsIm9pX3Byc3QiOiJzcXVpZGV4LWZyb250ZW5kIiwiaXNzIjoiaHR0cHM6Ly9jbXMuaGVpem1hbm4uY2gvIiwib2lfYXVfaWQiOiI5ZGY3NjEzMS1jZDE5LTRjYTItODdhMy04Yzg3NzE2YjgwNGQiLCJjbGllbnRfaWQiOiJzcXVpZGV4LWZyb250ZW5kIiwib2lfdGtuX2lkIjoiY2UwMmRmMGUtZWM2MS00YmM5LWJhNjgtYzQwMzNhMTQ1MTM1IiwiYXVkIjoic2NwOnNxdWlkZXgtYXBpIiwic2NvcGUiOiJzcXVpZGV4LWFwaSBvcGVuaWQgcHJvZmlsZSBlbWFpbCBwZXJtaXNzaW9ucyIsImp0aSI6IjE3OTQ2NGM1LTM4OGUtNGYxYi1hMGY1LWNmMWVkYWQxNDdmMCIsImV4cCI6MTcwODUyNTU3NywiaWF0IjoxNzA1OTMzNTc3fQ.fgBZMO2czatxlGzkYg9FtAMHksa6yiDQEjDLk-s-AQDdn1-ngvbJe0HIRbBrJLLTdbBWxuK71dUT_5Pwx9iI15meYQ-FL1AcKTdalykJmn_XpIkZPt00_knBLGhawmIrYHQxW6692IIa00PKITIsYs8g7vAeEMXFdpButb9pcHdH6bSkgjDQ-4_PH7tqdCFATY3DEIuLfsu2NOcxIQ9_JM-UkM2n04Jm1Z7QQNlS8VPGwwx7aG2i5Rit68MPnh817mfWoHT-FBnLrMq7c6d-_cbMpkP6IRoCep4qBsJgbaBZAq9pvZxwiqQEe-nZOTdH0c_9V1PcCBbQDP50WFp_NA%26version%3D0&amp;embedded=true" class="ng-star-inserted"></iframe>
  1. Is there a way to disable external preview rendering on protected content?

I came across this as i wanted to create an image from the first PDF page as a thumbnail…
If squidex would have a processor for generate images from PDF on it’s own, that would be a nice feature too as you could create a thumbnail for any given format parameter (like creating a WEBP thumbnail from a TIFF as example).

  1. Do you have already some ideas on this or could I help on this?
    Then you have to lead me to the right position for implement the PDF-To-Image-Creator and i could do the rest :smiley:

Hi,

  1. There is no way to disable that. Sorry

  2. I would have a look to imagemagick