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

    I am going to start a project where I need to have certain files available to certain groups of web users. I know I can make documents only accessable to certain users, but is it somehow possible to restrict a file download to a certain group of users? I mean, if a user sees that all files are downloaded from http://whatever.com/assets/files/ he could simply start to guess filenames or make a script that tries a bunch of different filenames.

    I’m not afraid of writing snippets but can’t think of a good solution to the problem.

    Jonas
      • 15083
      • 697 Posts
      there is a snippet to do just this, but I can’t remember the name, google is your friend now.
        • 14617
        • 47 Posts
        I found the snippet FileDownload from MuddyDogPaws (WayFinder maker, right?). Is that the one you were thinking of?

        Jonas