[pmwiki-users] Images in another group

H. Fox haganfox at users.sourceforge.net
Wed Dec 7 17:08:54 CST 2005


On 12/7/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Thus, if the wiki administrator turns off access to uploads via
> direct url (e.g., via a .htaccess file or equivalent),

Another method, which isn't equivalent but has the same effect
(disallowing direct access to uploaded files), would be to move
uploads outside your web server's document tree.  You can use

$UploadDir = '/some/path/the/server/won't/serve/from/uploads';

PmWiki can run with all script-written files stored outside the web
document tree, which is pretty impressive.  For a clunky method of
setting this up, see
http://www.pmwiki.org/wiki/Cookbook/SourceForgeServers

Hagan

> then the only
> way to access uploaded files will be by using ?action=download on a
> page, and this will require read permission to the page.
>
> Hope this helps...?
>
> Pm




More information about the pmwiki-users mailing list