Make thumbnail private to prevent data leak

Occasional Visitor

The first page of a document is publicly accessible having the link to the thumbnail. The link has an access_token in it and with it, it is even possible to download the whole document. 


To prevent data leak, please leave the thumbnails on the tenant and not on a public accessible "" server with a deeplink to the file.


In the past weeks we learned on the news that simple browser plug-ins can send these links to other servers. So the risk for leaking these links and finally sensitive data is huge.


If it is not possible to leave thumbnails on the tenant, consider making it possible to opt-out from this feature in the admin pages.


Till then, only thing to do is using always a coverpage as a first page in a document. Don't take pictures with sensitive data on them. But having done all this, the access_token in the link will not prevent from someone obtaining the link to download the whole document.


I did not test for how long the token is valid.


Examples of places i tested that make this thumbnail files:
1. Internal (not shared) document on a SharePoint site:
2. Personal OneDrive folder.
3. Personal OneDrive folder image upload.
4. To my surprise the problem extends also to


Screenshots as I cannot post links with the access_token in them:


4. The thumbnail link from outlook expires after a short amount of time, but still, it's ridiculous.


You can test it yourself in any browser. See on the following screenshot where to find the deeplink:


Links look like this:!m2Xa-PkPGke3NksFN2FU01Ff_pxP-AJMik3hXghVjYkmGmeNmVF9SLq9eRUEzFx0%2Fitems%2F01WTLDZYGDSBIX3KG5C5DKNAVEAR3G2262%3Fversion%3DDraft&access_token=______TOKEN_______&encodeFailures=1&srcWidth=&srcHeight=&width=2000&height=2000&action=Preview


0 Replies