incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: By Invitation Only Registration
Date Wed, 05 Dec 2007 19:20:16 GMT

How about protecting UserPreferences.jsp through your web.xml  
or .htaccess?  Then share the username/password.

/Janne

On 5 Dec 2007, at 20:44, Volkar, John M. wrote:

> I have a public facing wiki, I want registration to be by invitation
> only.
>
> Any suggestions?
>
> ...
>
> I was thinking a patch along the lines of:
>
> Adding a property:
> 	jspwiki.registration = open | closed | invitation, default is
> 'open'.
>
> Modifying the default template to conditionally show the  
> registration UI
> elements based on the property.
>
> For 'invitation' some additional UI elements would be added (a few  
> text
> strings and an input-box)
>
> When the user attempts to register, the "invitation-code" would be
> checked against another new property:
> 	jspwiki.registration.invitationCode=
>
> Which could have one of two values
> 		static:XXXcodeXXX	
> 		code-file:JSPWiki-InvitationCodes.txt
>
> Where static: is a single shared "community code", if compromised the
> admin must change it and restart.
>
> Where code-file: is text file of name:code pairs.
>
>
> Any thoughts on this?  Am I making this harder than it needs to be?
>
> Regards,
> John Volkar


Mime
View raw message