Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Change Permissions on Wiki People page?

I am Using Wiki Server 3 on a Mini Lion Server install.

I find it to be an intolerable security problem that, without logging in, any one can see my Wiki's "People Page"

At best it gives hackers a good starting point at guessing login names.

At worst, if someone uses a photo for their profile pic it gives predators a name & face.


I can disable the People Page entirely by editing the proper plist file, but then the whole page, and everyone's personal documents pages are completely inaccessable.


Is there a way to re-enable the People page, but make it available ONLY to logged in users? It doesn't treat "People" and personal pages like Wiki pages. I can't seem to find settings for permissions.


Thanks,


Joe

Mac mini, Mac OS X (10.7.1)

Posted on Sep 14, 2011 5:09 AM

Reply
21 replies

Sep 30, 2011 12:41 AM in response to joe_mck

The only way I can think to do what you want requires that everyone whom you wish to permit to see the People pages be located in a pre-defined block of IP addresses. For example, you could make it so that the People pages were only visible to people coming in from your company's internal addresses or VPN address pool.


I don't have time to work out all the details, but what you'd do is use Apache's RewriteCond rules to tell Apache that "all requests for pages meeting these criteria that do not come from this set of IP addresses should be redirected to the root page."


Something like:

RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.0$

RewriteCond %{REQUEST_URI} ^/people_page\.html$ [NC]

RewriteRule ^(.*) /root_page.html [R]


But don't take my syntax as necessarily correct - you'll have to root around Apache's website to work out the proper commands.

Oct 18, 2011 8:57 AM in response to joe_mck

I've encountered the same problem. We're running 10.7.2 and the only solution I've found is to edit the actual code to require that the user be authenticated in order to view the people page. This probably isn't a good long term solution, but just in case you're interested here's what I did.


1) Edit the file /usr/share/collabd/coreclient/app/controllers/people_controller.rb to include 'before_filter :ensure_user_is_authenticated' at the top of the PeopleController class definition.


2) Stop and restart the wiki server (serveradmin stop wiki;serveradmin start wiki).


This will prevent unauthenticated users from seeing the people pages. Note that this change will likely be overwritten when you upgrade.


Hope this helps.

Oct 20, 2011 2:08 PM in response to attymullins

@attymullins thank you; thank you; thank you.


Hopefully when it's overridden in the next upgrade it will get overridden by a version that requires authenticated users by default, or at least makes it more easily configured.


It's a pretty stupid security flaw making that open by default. Just think about the first 10 minutes of "The Social Network."


For those reading this in the future; note that running serveradmin (step 2) requires a sudo.

Dec 21, 2011 4:09 PM in response to carstenlevin

carstenlevin wrote:


Did I miss the point, ... ?

Yes.


I do have the wiki set so only registered users can create wikis. Once created, the Wiki's can be public or private. Generally, my public wikis are read only. Announcements and so forth.


The problem is that Apple makes the people page itself publicly viewable.


Publicly listing valid accounts on your system is TERRIBLE computer security practice.

And when some of your users are minors, with profile pictures, then it can compromise their personal safety too.


I can scrap and rebuild my system if hackers get in; but the kids are important.


The flagged "Correct Answer" basically answers the mail exactly. the fix it simpler than it looks; the dumb thing is that it is not the default configuration.

Jan 23, 2012 4:02 PM in response to attymullins

Thanks for the info, it worked like a charm! Now I have another question for the Wiki gurus. Let's say I have two People, Amy and John. Technically Amy owns Amy's People page and John owns his own, I'm assuming. The problem I have is Amy can change John's People page and Vice Versa with John and Amy. Is there a way to drill the permissions down any further to only allow Amy to change her People page and no one else's? Thanks for any info on this topic!

Jan 23, 2012 4:17 PM in response to Gregory Homyak

My initial guess is no, because the Wiki server isn't designed to work like this. It thinks of people as members of collaborative workgroups, so there's no need to prohibit authorized users from making changes.


Maybe a workaround would be to use the Blogs feature. You could create a blog for each user and put their personal info there. Then only that user could edit that info.

Jan 23, 2012 5:05 PM in response to Colin Cannell

Thanks for the info Colin, I cracked the nut, so to speak. It seems I had marked Amy and John and admins to the server so no matter what the permissions for the People and Blog pages, both could do whatever they wanted to to each other. Once I create a user account, Frank, as a standard user then Frank could only edit Frank's pages and not Amy's. But Amy could edit anything Frank did. It all makes sense now. I just won't give Admin rights to the users on the Wiki to make it all easier. Thanks again everyone! 😁

May 29, 2012 5:04 AM in response to Gregory Homyak

Gregory, sorry to say 10.7.4 has not fixed the problem.


I had installed the latest update to 10.7.4 prior to seeing this thread to fix problem of publicly viewable people pages. So sad to say Apple still haven't seen the importance of securing our personal information in their wikis.


I have now ran the fix suggested by attymullins and can confirm the fix is still valid and works for 10.7.4 (11E53)


Do we have to wait for Mountain Lion for this feature to be a default?

Sep 30, 2012 2:02 PM in response to chrisksm

chrisksm wrote:


Still seems to be a problem with Mountail Lion!


Does the fix suggested by attymullins still wrok with Mountain Lion?

Yes, EXCEPT, the location of people_controller.rb has moved. it is now in:

/Applications/Server.app/Contents/ServerRoot/usr/share/collabd/coreclient/app/co ntrollers


Be suere to review the file EVERY time apple updates Server.app!

Change Permissions on Wiki People page?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.