Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have TRAC instance running and I need to protect few specific pages from some authenticated users, while giving access to those pages to certain other users.

* UPDATE * : Authenticated users have wiki_view privileges, but I need to prevent certain users from accessing certain wiki pages, without blocking them from access any wiki pages.

Is this something that can be done?

share|improve this question

closed as off topic by Michael Hampton, John Gardeniers, Brent Pabst, MadHatter, mdpc Dec 13 '12 at 17:17

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I apologize for not being clear enough as answers are not going right directions (my fault). –  alexus Dec 14 '12 at 16:56
add comment

2 Answers

Would you not be able to use one of the apache authorisation configuration options and/or modules to add an authentication layer based on the url?

With the right /location settings you should be able to get this done.

<Location /secure>
  AuthType basic
  AuthName "private area"
  AuthBasicProvider dbm
  AuthDBMType SDBM
  AuthDBMUserFile /www/etc/dbmpasswd
  Require valid-user
</Location>

See also:

share|improve this answer
add comment

Trac has it's own built-in authentication. Why not use that?

Permission privileges are managed using the trac-admin tool or (new in version 0.11) the General / Permissions panel in the Admin tab of the web interface.

TracPermissions - The Trac Project

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.