Copy link to clipboard
Copied
I'm downloading a Invoice PDF from NetSuite where we have generated URLs. When I view the PDF in a browser's pdf viewer (Chrome and Edge), the links work just fine! However, when I open the PDF in Adobe Acrobat and I try to access the link in the file I get a Security Warning that I'm about to open a link from my C drive!
file:///C|/Users/name/downloads/etc.../https://ACTUALLINK.COM
Why is my Adobe Acrobat application trying to open a file from my C drive when if I open the PDF in a browser PDF viewer, I have no problems?
Thanks in advance.
Copy link to clipboard
Copied
Thanks for bringing this up — I know how confusing it is when a link works perfectly in the browser but behaves differently in Acrobat.
The behavior you’re seeing is usually caused by the way the link is encoded inside the PDF. Although the visible text displays a standard web URL, the actual hyperlink target stored in the PDF may sometimes include the full local file path where the PDF was originally generated or downloaded.
Adobe Acrobat reads and interprets the actual embedded URI in the PDF.
If the link is stored like this internally:
file:///C:/Users/.../https://adobe.ly/4rrsK5D
Acrobat will treat it as a local file path and display a security warning, because opening local files can be a security risk. Browsers, however, tend to “normalize” or ignore malformed paths, so they may jump straight to the web URL, making it appear that the link is fine.
You can check the actual embedded link inside Acrobat:
If you see the local file path before the actual URL, that confirms the PDF is embedding the link incorrectly.
You’ll need to adjust how NetSuite generates the URL in the PDF:
Ensure the hyperlink field ONLY contains:
Remove any file path prefixes
Avoid concatenating local paths and URLs when building the PDF
If using SuiteScript, verify that nlapiResolveURL() or the builder function returns a proper absolute URL
Once the link is embedded cleanly, Acrobat will treat it as a standard web URL and stop showing the message.
Best regards,
Tariq | Adobe Community Team
Copy link to clipboard
Copied
Thank you Tariq for your response!
There are other links on the PDF that open in their proper browser link. This link that is causing the issue is from a bundle from our Payment Processor. They generate a payment link via SuiteScript and paste that onto an image on the PDF. The link its compiling is an 'https' link. The other links on the PDF that open properly are 'http' links.
Does Adobe interpret https links and http links separately when the PDF is downloaded and then viewed in Adobe Acrobat?
Copy link to clipboard
Copied
Hi,
Great follow-up, and thank you for the additional detail — that helps narrow things down significantly.
To answer your question directly: No — Adobe Acrobat does not treat HTTP and HTTPS hyperlinks differently.
Both should behave exactly the same as long as the link embedded in the PDF is a clean, valid URL.
Therefore, the protocol (HTTP vs HTTPS) is not the reason you’re seeing a C-drive path in the security warning.
What's next:
Ask your dev team or your payment processor to inspect the value being assigned to the PDF link annotation.
The URL should be stored as: example: "https://adobe.ly/48vCEdX"
and nothing else — no local path, no relative path, no prefix.
If their script is building the link via concatenation, encoding, or using an older SuiteScript API, it may be unintentionally inserting part of a local or temporary path.
Best regards,
Tariq | Adobe Community Team
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more