We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41874
    • 33 Posts
    Hi all,

    I would like to create some download pages behind a password. So I created a Resource Group, User Group, User, and (secure) Media Source. I linked them all together and everything is working fine except the Media Source.

    I would like that Media Source act as default when editing resources in this Resource Group. So if you add a file it will be saved into this media source instead of the general default.

    I hope this is possible. Thanks in advance!

    Cheers,
    Huub

    This question has been answered by multiple community members. See the first response.

      I love flexibility
    • discuss.answer
      • 41592 ☆ A M B ☆
      • 83 Posts
      if you use a TV for you data input you can set the media source to link in your Tv by select it in TV management panel
        Francesco Mussoni | MODX Ambassador | Skype: solidusite2 | Email: [email protected]
        • 41874
        • 33 Posts
        Thanks, I'll do that.

        Do you know how to secure a Media Source for public access? I've created a Media Source, with access permissions to a certain user group. However the files are still available in the frontend for a regular visitor. I suspect that this tab (Access Control) only controls the access in the backend?
          I love flexibility
          • 41592 ☆ A M B ☆
          • 83 Posts
          you can limit access to your TV, in Front-end or back-end but of your TV not your Media Source. take a look how to Change permission on TV
            Francesco Mussoni | MODX Ambassador | Skype: solidusite2 | Email: [email protected]
          • discuss.answer
            • 4172
            • 5,888 Posts
            you can put a .htaccess - file to your directory with 'deny from all'
            http://htaccessfile.com/prevent-viewing-of-files-with-htaccess

            or put the files in a directory outside the root.

            Than only a php-script can get the files.
            You can also connect to them with static resources.
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 41874
              • 33 Posts
              Thanks both! I assume then that there is no configuration for the media source to do that then. htaccess will do it for me. Thanks both for the suggestions!

                I love flexibility