Welcome Guest, Not a member yet? Register   Sign In
Folder permissions
#1

Hello! I developed an application using CI3. In this application, I upload files to /localhost/application/files.
I use GroceryCrud to list download links to the files. Everything OK, I can download with "force_download" function.


But, when I try to embed the file in a view (PDF files) I get :

You don't have permission to access /ci/application/files/03-020-00001-ENC.pdf on this server.

from Apache server (WAMP running on Windows).

I'm looking for advice on how to solve this. Is it unsafe to store files out of "Application" folder?. Is it a best practice?. How can I set permissions to allow my view to get the PDF file?.

Regards.
Reply


Messages In This Thread
Folder permissions - by mnabarro - 02-20-2020, 06:31 AM
RE: Folder permissions - by jreklund - 02-20-2020, 10:42 AM
RE: Folder permissions - by InsiteFX - 02-20-2020, 04:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB