A Google Drive issue that in certain cases exposed the original URLs of shared documents has been fixed by Google, the company announced on Friday.

According to Google Technical Program Manager Kevin Stadmeyer, the security issues was reported to the company via its Vulnerability Reward Program, and it only affects document files that meet all of the following conditions:

T he file was uploaded to Google Drive;

T he file was kept in its original document format and not converted to Docs, Sheets or Slides;

T he document has been made available to "anyone with the link" by its owner;

T he content of the document contains a link to a third-party HTTPS website.

If these conditions are met, the administrators of the third-party HTTPS website can view the URL of the original document if a user clicks on the embedded link that points to their site.

"Today’s update to Drive takes extra precaution by ensuring that newly shared documents with hyperlinks to third-party HTTPS websites will not inadvertently relay the original document’s URL," Stadmeyer explained in a blog post.

While Google has addressed the issue, previously shared documents that meet the aforementioned criteria are still impacted. Their owners can address the problem by creating a copy of the document and sharing it via a newly generated link. The old document must be deleted once the process is completed, Stadmeyer said.

It's worth noting that Dropbox fixed a similar privacy issue back in May. The company initially disabled access completely for previously shared links, but by the end of May it had re-enabled the links not susceptible to the vulnerability.