Remove "Open from URL" from "Files" Menu

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Alpenblick
User
Posts: 8
Joined: Mon Jun 29, 2026 8:40 pm

Remove "Open from URL" from "Files" Menu

Post by Alpenblick »

In the "Files" menu (Datei) the third item allows to open a PDF from an URL.

image(2).png

For security reasons, I'd like to disable this option (deactivate, grey out, remove from menu, ...). While there are a lot configuration items that can be customized, I wasn't able to find a switch/configuration option to disable this item. Did I miss something or is there no related option?

Thanks a lot for your support.
You do not have the required permissions to view the files attached to this post.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7481
Joined: Wed Mar 25, 2009 10:37 pm

Re: Remove "Open from URL" from "Files" Menu

Post by Paul - PDF-XChange »

Hi, Alpenblick

thanks for the excellent question.

Indeed the PDF-XChange editor is highly customizable in this respect. There is a section in the System Administration manual all about it here: https://help.pdf-xchange.com/sysadmin/e ... mands.html

In a nutshell:
  • Find the command identifier
  • Add it to the "Commands Availability" policy
  • Add it to the "Commands Visibility" policy

In the Commands section of the Customize Toolbars dialogue, search for Open from URL. It should be the only result. Select it and hit Properties:

image.png
look for it's ID:
image(1).png
and use that in the Policy from the Templates, which are here: https://www.pdf-xchange.com/Tracker_AD_ ... plates.zip (from the manual page here: https://help.pdf-xchange.com/sysadmin/e ... lates.html)

Note that the cmd prefix is optional, omitting it does not stop the policy working.

Enable the policy and add openFromURL:0 to the list:
image(2).png

Do it for both Commands Availability as well as Commands Visibility to disable and also hide the command:
image(3).png
Next time the Editor starts it should pick up the policies and that option should be gone:
image(4).png
I hope that helps. Let me know how it goes?
You do not have the required permissions to view the files attached to this post.
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Alpenblick
User
Posts: 8
Joined: Mon Jun 29, 2026 8:40 pm

Re: Remove "Open from URL" from "Files" Menu

Post by Alpenblick »

Thanks a lot Paul.
Following your guide I was able to manually achieve the desired result.
It will take a while until it's also implemented in the automated deployment.
I will report back if it worked.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 13189
Joined: Wed Jan 03, 2018 6:52 pm

Remove "Open from URL" from "Files" Menu

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]