cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about : Answered

Allow on White and Deny All on Black List?

I want to limit registration to a single domain. Is the strategy to match the single domain in the white list and then match all email addresses in the black list?

The white list

^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@((hmc|HMC)\.)?(psu|PSU)\.(edu|EDU)$ # e.g. lae2@psu.edu; LAE2@HMC.PSU.EDU; etc

The Black list

^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$

Further, the plugin directions repeat a whitelist topic link where I image the intention was to link the blacklist. Thank you.

-- LorenEvey - 17 Jul 2012

With Foswiki 1.1.5, you can configure this in Configure -
  • Security and Authentication tab.
    • Registration sub-tab.
      • There is an "Expert" setting - {Register}{EmailFilter} It can be configured as either a white or black list.
To block all domains and list only the permitted domains, use an expression of the format:  
@(?!(example\.com|example\.net)$)

-- GeorgeClark - 18 Jul 2012

I am a psychologist so I did not expand the expert settings. Egads, a negative look ahead.

-- LorenEvey - 18 Jul 2012
 

QuestionForm edit

Subject
Extension AntiWikiSpamPlugin
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r3 - 18 Jul 2012, LorenEvey - This page was cached on 19 Aug 2018 - 23:35.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy