Access Downloads As Guest (Logged Out)
Permalink 1 user found helpful
I've uploaded PDF files and made them linked in my public site, but I get an "Invalid File" unless I'm logged in. There is no password and the "Download File" has Guest Permissions for Viewing.
I've had to change concrete/controllers/download_file.php to allow access:
Not sure if there is anything else I can do within the admin versus changing the code. Any thoughts?
I've had to change concrete/controllers/download_file.php to allow access:
$fp = new Permissions($file); if (!$fp->canRead()) { // return false; }
Not sure if there is anything else I can do within the admin versus changing the code. Any thoughts?
What are the settings on the access page of the files section in the dashboard? Do guests have the ability to read files?
I'm having this same issue. View Site Files is set to Yes for Guests.
Got this worked out for my site that was having the problem. I realized that the Download File system page is a subpage of the main "home" page of the site. My site uses the domain mapper and so the main "home" page had no guest access and was set for subpages beneath it to inherit it's permissions. In the sitemap, I viewed system pages and manually set the permissions of the Download File page to allow guests to read and all's well!
Anybody who has this issue:
go to File Manager -> Access --> select guest and set view site files to yes. (this means that you can download files uploaded)
go to File Manager -> Access --> select guest and set view site files to yes. (this means that you can download files uploaded)
?
if you upload a file, place it using the file block or content block, and you havent messed with permissions, anyone should be able to download it.