Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Need Help with Upload/Download Permissions
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=2967
Page 1 of 1

Author:  aineyr [ 17. Apr 2011, 16:08 ]
Post subject:  Need Help with Upload/Download Permissions

I am using Joomla version 1.0.15 with JFU version 2.13. I am creating a site that will allow a business to upload files for a customer and then give the customer the login credentials. The customer logs in and uses the download feature to retrieve the files. The customers can also upload files for the business. I need to make sure that the rest of the world cannot view the files while the customers can still upload and download files through JFU. I have set the directories to 777 and the files are set to 300. I can successfully upload the files but I am getting errors when I try to download the files. I believe that this may be due to a permissions issue. Does anyone have some input on how I could accomplish this?

Thanks in advance

Author:  TinyWebGallery [ 17. Apr 2011, 19:51 ]
Post subject:  Re: Need Help with Upload/Download Permissions

about the download. I would not make this with permissions on files.

Use a .htaccess to protect the folder.

- Michael

Author:  aineyr [ 17. Apr 2011, 21:44 ]
Post subject:  Re: Need Help with Upload/Download Permissions

I knew that was always an option but I wasn't sure if I could accomplish it with file permissions. It makes it a little bit annoying for the customer but they will have to live with it. I think they will agree that security overrules ease of use and needing to put in one more username and password.

Thanks for the quick reply!

Author:  TinyWebGallery [ 17. Apr 2011, 22:03 ]
Post subject:  Re: Need Help with Upload/Download Permissions

Why one more password?

you should upload download through JFU. But protect the folders with a .htaccess.
JFU does directly go to the files. So the .htaccess is only for unprotected direct access to the files.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/