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

    I want to store some files within MODx-based website and I want to have a restricted area where logged in webusers would be allowed to download those files. The point is that I want to manage access rights to those files - so for example when somebody is allowed to download the file, copies the link, sends it to somebody else - I don’t want this second person to be allowed to download the link.

    I think that there should be some script (snippet) which hides the real location of the file but lets logged-in webusers to download it.
    Another idea (probably more safe) is to keep the attachments in the database and read them with a snippet.

    Do You know if there are any snippets which already implement such functionality? I don;t want to discover the wheel again:)

    Thanks!
    Best regards
    Greg