1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Uploads to individual folders

Discussion in 'Community' started by Parisi, Apr 26, 2014.

  1. Parisi

    Parisi Member

    Level: Community
    I want users to be able to upload files (and keep a record of each upload) to a private folder for each user. How might I accomplish this?

    Thanks!
    Paul.
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
  3. Parisi

    Parisi Member

    Level: Community
    Troester - thank you so much for answering the question in a helpful fashion. I can't tell you how many time answers are just not helpful at all. I think this could be the beginning of a long and fruitful relationship with Fabrik!

    Thanks again!

    Paul.
     
  4. Parisi

    Parisi Member

    Level: Community
    A follow up question on this - is it possible for me to run a function on the id? For example a salted md5 to deter people from guessing the path?
     
    cheyennemtnman likes this.
  5. cheyennemtnman

    cheyennemtnman Member

    Level: Community
    Any thoughts on this regarding keeping folders secure from guessing or such...
     
  6. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Not really, no.

    I could possibly add something like @Parisi suggested, of a salted MD5, like the result of an md5 hash of the user ID concatenated with the Joomla global secret, so you would have (say) {$my->salt} you could use.

    And of course you can use random file names, which is pretty effective.

    -- hugh
     

Share This Page