Bug 1452 - Remove public files directory
Remove public files directory
Status: NEW
Product: OJS
Classification: Unclassified
Component: Framework
2.4.x
All All
: P2 normal
Assigned To: PKP Support
Depends on:
Blocks: 6058
  Show dependency treegraph
 
Reported: 2005-04-29 13:13 PDT by Kevin Jamieson
Modified: 2012-08-21 15:47 PDT (History)
2 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Jamieson 2005-04-29 13:13:38 PDT
For 2.0, consider moving the public files directory under the primary
(non-web-accessible) files directory, with files accessed via script (with no
ACL checks, i.e. the files are still "public")
Comment 1 Kevin Jamieson 2005-04-29 17:15:19 PDT
Deferring for consideration to 2.1.

Advantages of this move:
- All writeable files are within the same directory structure, and cannot be
directly accessed
- Public files can be manipulated from the Files Browser

Disadvantages:
- Possible difficulties in determining mimetype ("mime_content_type" is not
always available, so need a portable fallback)
- Less friendly URLs (irrelevant?)
- Some additional overhead in accessing these files (may be negligible?)
Comment 2 Alec Smecher 2006-01-08 10:01:37 PST
Deferred.
Comment 3 Alec Smecher 2009-05-21 09:20:41 PDT
Deferring again.
Comment 4 James MacGregor 2011-02-15 12:06:34 PST
We've had a few other recent requests for different handling of the public/ dir -- specifically so that it is also accessible via the Files Browser. I think it makes sense to reschedule this bug for an upcoming release.