Fork me on GitHub

UpDownload Module: Are the permissions a security risk?  Bottom

  • Greetings All,

    I recently obtained UpDownloads, threw it on my dev server and was quite happy with the result. Well, the one problem was chmod 777 for the uploads directory... This would seem to be a security risk, so what is the alternative? There was a suggestion in the docs that said 0770 might work but that seems to leave no privelege to upload. Any thoughts?
  • So, yes now I'm trying out DownloadsPlus...I'm still wondering what the optimally secure way to provide upload ability. Is there no way to stick a file into the database? It seems if that were possible that would be the safest way. Any thoughts would be appreciated.
  • The problem with BLOB (binary large object) columns in the DB is the performance hit the server takes. I have not tried this personally yet, but I have been told (and you can check the mysql.com documentation yourself for more on this) that it is not a good idea. This has come up often for gallery projects because people want to store the picture data in the DB rather than a path to each picture. But apparently, it is many times faster to simply store a link to the object as most of the modules do.
  • If you are interested my MultiImage module ( http://noc.postnuke.com/projects/multiimage/ ) has the option of storing images in the DB. You can see a demo at:
    http://curttimmerman.net/pn/
    The 2 upper right blocks. Most of the images come from the DB.

This list is based on users active over the last 60 minutes.