Last modified: 2013-04-22 08:25:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21746, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19746 - Conceal information about page existence if user is not allowed to view the page
Conceal information about page existence if user is not allowed to view the page
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-15 13:16 UTC by Church of emacs
Modified: 2013-04-22 08:25 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Church of emacs 2009-07-15 13:16:44 UTC
If $wgGroupPermissions['*']['read'] = false;, or through some other way the user is not allowed to view a page, its existence or non-existence should be concealed as well.
Currently, you can tell whether the page you are trying to view exists in different ways; this is a loophole which can reveal very limited, but potentially critical information: For example you can be (almost) sure that a certain user is registered on a private wiki, if the corresponding user/user_talk page exists.

The following has to be done:
1. Mark all links to other pages as existent if the user is not allowed to view them.
2. Mark Skin::topLinks to page&talkpage as existent if the user is not allowed to view them.
3. Treat an existing page like it is not existent if the user is not allowed to view it (hide "view source" and "history" toplinks and "recentchanges" toolbox link)

A bit of a philosophical question: Should links to pages the user is not allowed to view marked as existent or non-existent? On one side, you could interpret "red" links as: "you can't view this page, because you are not allowed to or it does not exist", on the other hand red links are exclusively used to mark "this page does not exist yet", while blue links may also point to empty logs, etc.
Comment 1 Quim Gil 2013-04-20 19:19:05 UTC
A bit of philosophical comment: why is it wrong to let users know about pages they can't access?

It's a bit like the CIA: we don't know what are they doing but we do know they exist.
Comment 2 Alex Monk 2013-04-20 19:25:16 UTC
Yeah, I'm leaning towards WONTFIX here...
Comment 3 Andre Klapper 2013-04-22 08:25:23 UTC
I'm setting WONTFIX here for now. If they are good arguments, please reopen.
"if the corresponding user/user_talk page exists" has to be fixed in other places already when it comes to access restrictions.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links