We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43794
    • 1 Posts
    I am trying to remove access to PDF files I have uploaded. I have unpublished the pages that have links to them, but one would still have access to them if they know the URL. Is there a way to accomplish this without deleting the PDFs?

    Thanks.
      • 3109 ☆ A M B ☆
      • 894 Posts
      You can either move them to another directory or you can put them in a resource group that only admins can access.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        If you are using Revo, you can put them outside the web root and use Static Resources to access them. Since they are outside of the web root they cannot be accessed via the web, and the URL used to access them is to the resource, not to the files themselves. The static resources can be protected like any other resource.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org