Manual talk:Img auth.php

About this board

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??"
YOUR1 (talkcontribs)

Is it possbile to retrieve non-stored files?

Ie; a file in images/tmp/<> that has not been indexed by the wiki.

51.6.194.34 (talkcontribs)

I get the following when I click on the "example" link in this Manual page... not too encouraging!

Access denied

Missing PATH_INFO. Your server is not set up to pass this information. It may be CGI-based and cannot support img_auth. See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Image_Authorization.

Wargo (talkcontribs)

YesY Done

Reply to "Example broken?!"
There are no older topics
Return to "Img auth.php" page.