Jump to content

Topic on Manual talk:Img auth.php

Archived files not protected??

1
Revansx (talkcontribs)

I'm seeing an odd behavior from "img_auth.php" -- I have a private wiki (1.31) and am using "img_auth.php" to extend read permission from the page to the direct file links for each uploaded file. However, I have noticed the img_auth is only protecting the current version of the files and not the archived versions.. such that - when not logged-in:

this link:

  • https://server/wiki/img_auth.php/f/f3/MyFile.txt is protected

but this link:

  • https://server/wiki/img_auth.php/archive/f/f3/20190926134300%21MyFile.txt to an older version is not.

Is this normal behavior for img_auth?

Is this a configuration issue?

Reply to "Archived files not protected??"