Type | Carrier | Filter | Activation | |
---|---|---|---|---|
E2SMS | USA: AT&T | $phone@txt.att.net | ^\+?1? | |
E2SMS | USA: Cingular GSM | $phone@cingularme.com | ^\+?1? | |
E2SMS | USA: Cingular TDMA | $phone@mmode.com | ^\+?1? | |
E2SMS | USA: Cricket | $phone@sms.mycricket.com | ^\+?1? | |
E2SMS | USA: Metro PCS | $phone@mymetropcs.com | ^\+?1? | |
E2SMS | USA: Nextel | $phone@messaging.nextel.com | ^\+?1? | |
E2SMS | USA: Sprint PCS | $phone@messaging.sprintpcs.com | ^\+?1? | |
E2SMS | USA: T-Mobile | $phone@tmomail.net | ^\+?1? | |
E2SMS | USA: US Cellular | $phone@email.uscc.net | ^\+?1? | |
E2SMS | USA: Verizon | $phone@vtext.com | ^\+?1? | |
E2SMS | France: Orange | $phone@orange.fr | ^\+?(33)? | |
E2SMS | France: SFR | $phone@sfr.fr | ^\+?(33)? | |
E2SMS | Germany: E-Plus | 0$phone@smseplus.de | ^\+?(49)?0? | Send START to 7676245 |
E2SMS | Germany: Mobilis | 0$phone@mobilis.de | ^\+?(49)?0? | |
E2SMS | Germany: Mannesmann M. | $phone@d2-message.de | ^\+?(49)?0? | |
E2SMS | Germany: O2 | 0$phone@o2online.de | ^\+?(49)?0? | Send +OPEN to 6245 |
E2SMS | Germany: Simyo | $phone@eplus.de | ^\+?(49)?0? | |
E2SMS | Germany: T-Mobile | +49$phone@t-d1-sms.de | ^\+?(49)?0? | Send OPEN to 8000 |
E2SMS | Germany: Vodafone | $phone@vodafone-sms.de | ^\+?(49)?0? | Send OPEN to 3400 |
E2SMS | Israel: Cellcom | $phone@cellcom.co.il | ^\+?(972)? | |
E2SMS | Israel: Orange IL | $phone@shiny.co.il | ^\+?(972)? | |
E2SMS | Israel: Spikko | $phone@spikosms.com | ^\+?(972)? | |
E2SMS | Netherlands: Dutchtone | 0$phone@sms.orange.nl | ^\+?(31)? | |
E2SMS | Netherlands: Orange-NL | 0$phone@sms.orange.nl | ^\+?(31)? | |
E2SMS | Netherlands: T-Mobile | 31$phone@gin.nl | ^\+?(31)? | Send EMAIL ON to 555 |
E2SMS | Switzerland: Sunrise Commun. | $phone@gsm.sunrise.ch | ^\+?(41)?0? | |
E2SMS | Switzerland: Sunrise Mobile | $phone@mysunrise.ch | ^\+?(41)?0? | |
E2SMS | Switzerland: Swisscom | $phone@bluewin.ch | ^\+?(41)?0? | |
E2SMS | UK: O2 | 44$phone@mmail.co.uk | ^\+?(44)? | Send text 'ON' to 212 |
E2SMS | UK: Orange | 44$phone@orange.net | ^\+?(44)? | Activate via website |
E2SMS | UK: T-Mobile | 44$phone@t-mobile.uk.net | ^\+?(44)? | Dial 191 for info, activate via website |
E2SMS | UK: Virgin Mobile | 44$phone@vmoble.com | ^\+?(44)? | |
E2SMS | UK: Vodafone | 44$phone@vodafone.net | ^\+?(44)? | Dial 242 for info. activate via website |
Country: Carrier
. Keep the name short.
$phone
expands to the user's mobile number.
SmsTwoStepAuthContrib.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/SmsTwoStepAuthContrib.txt | Contrib documentation topic |
pub/TWiki/SmsTwoStepAuthContrib/*.png | Image files |
templates/smstwosteplogin.tmpl | Second log-in screen template for SMS |
templates/smstwostepmessage.tmpl | Template for SMS message with access code |
templates/smstwostepemaillogin.tmpl | Second log-in screen template for e-mail |
templates/smstwostepemailmessage.tmpl | Template for e-mail message with access code |
lib/TWiki/Contrib/SmsTwoStepAuthContrib.pm | Contrib Perl module |
lib/TWiki/Contrib/SmsTwoStepAuthContrib/Config.spec | Configure spec file |
lib/TWiki/LoginManager/SmsTwoStepAuth.pm | Login manager for two-step login via e-mail |
lib/TWiki/LoginManager/TemplateLogin.pm
to the latest version from the SVN repository, http://svn.twiki.org/svn/twiki/branches/TWikiRelease06x00/core/lib/TWiki/LoginManager/TemplateLogin.pm
lib/TWiki.spec
: Below $TWiki::cfg{LoginManager}
add the following content, also at http://svn.twiki.org/svn/twiki/branches/TWikiRelease06x00/core/lib/TWiki.spec : # **SELECTCLASS none,TWiki::LoginManager::*TwoStepAuth**
# TWiki can be configured to require two-step authentication, which is more
# secure because it makes it harder to impersonate a user. The first step is
# the usual authentication with username and password. After a successful
# first step, a second authentication step is required in order to log in.
# The two steps should be of different types, such as something the user
# <i>knows</i> (username and password), and something the user <i>has</i>
# (mobile phone with SMS). Two-step authentication currently requires
# {LoginManager} set to 'TWiki::LoginManager::TemplateLogin'.
# Available two-step authentication managers:
# <ol><li>
# none - Disable two-step authentication.
# </li><li>
# TWiki::LoginManager::EmailTwoStepAuth - Use e-mail for second step
# authentication. User receives e-mail with one-time-use access code.
# Requires installation of EmailTwoStepAuthContrib.
# Requires enabling {UseClientSessions} to track client sessions.
# </li><li>
# TWiki::LoginManager::SmsTwoStepAuth - Use SMS for second step
# authentication. User receives e-mail with one-time-use access code.
# Requires installation of SmsTwoStepAuthContrib.
# Requires enabling {UseClientSessions} to track client sessions.
# </li></ol>
$TWiki::cfg{TwoStepAuthManager} = 'none';
{LoginManager}
needs to be set to TWiki::LoginManager::TemplateLogin
{TwoStepAuthManager}
to TWiki::LoginManager::SmsTwoStepAuth
{SmsTwoStepAuthContrib}{WhitelistAddresses} = '';
{SmsTwoStepAuthContrib}{MaxAge} = 600;
{SmsTwoStepAuthContrib}{TwoStepAuth} = 'required';
{SmsTwoStepAuthContrib}{AllowEmail} = '';
{SmsTwoStepAuthContrib}{SmsMessageTmpl} = 'smstwostepmessage';
{SmsTwoStepAuthContrib}{SmsLoginTmpl} = 'smstwosteplogin';
{SmsTwoStepAuthContrib}{EmailMessageTmpl} = 'smstwostepemailmessage';
{SmsTwoStepAuthContrib}{EmailLoginTmpl} = 'smstwostepemaillogin';
{SmsTwoStepAuthContrib}{ErrorLoginTmpl} = 'smstwosteperrorlogin';
{SmsTwoStepAuthContrib}{AcessCodeError} = 'Invalid or outdated access code, please try again.';
| %ICON{mobile-carrier}% | =%<nop>ICON{mobile-carrier}%= | Mobile carrier | gif | 16x16 | | | %ICON{sms}% | =%<nop>ICON{sms}%= | SMS | gif | 16x16 | |
| Mobile Carrier | select | 1 | , %INCLUDE{ "%SYSTEMWEB%.SmsTwoStepAuthContrib" section="carrierlist" }% | Mobile carrier | H |In case
{SmsTwoStepAuthContrib}{TwoStepAuth}
is set to 'optional'
, add the following to the UserForm topic after the "Mobile Carrier" row:
| Two Step Auth | radio | 2 | off, on | Select on to use two-factor authentication | H |
%BR%%ICON{mobile}% %FORMFIELD{ "Mobile" topic="%INCLUDINGTOPIC%" }% Add these lines:
%BR%%ICON{sms}% %INCLUDE{ "%SYSTEMWEB%.SmsTwoStepAuthContrib" section="sendsms" From="%FORMFIELD{ "FirstName" topic="%WIKINAME%" }% %FORMFIELD{ "LastName" topic="%WIKINAME%" }%" For="%FORMFIELD{ "FirstName" topic="%INCLUDINGTOPIC%" }% %FORMFIELD{ "LastName" topic="%INCLUDINGTOPIC%" }%" Email="%FORMFIELD{ "Email" topic="%USERSWEB%.%WIKINAME%" }%" Mobile="%FORMFIELD{ "Mobile" topic="%INCLUDINGTOPIC%" }%" Carrier="%FORMFIELD{ "MobileCarrier" topic="%INCLUDINGTOPIC%" }%" }% 2. Add select Mobile Carrier selector: After these lines:
%ICON{mobile}% <input type="text" name="Mobile" value="%FORMFIELD{ "Mobile" topic="... %BR%Add these lines:
%ICON{mobile-carrier}% %INCLUDE{ "%SYSTEMWEB%.SmsTwoStepAuthContrib" section="carrierselect" carrier="MobileCarrier" selected="%FORMFIELD{ "MobileCarrier" topic="%INCLUDINGTOPIC%" }%" }% <div> %ICON{empty}% %INCLUDE{ "%SYSTEMWEB%.SmsTwoStepAuthContrib" section="help" }% </div>3. Add Two-Step Auth selector: In case
{SmsTwoStepAuthContrib}{TwoStepAuth}
is set to 'optional'
, add these lines after the </div>
of the previous step:
%ICON{lock}% %INCLUDE{ "%SYSTEMWEB%.SmsTwoStepAuthContrib" section="twostepauthselect" selected="%FORMFIELD{ "TwoStepAuth" topic="%INCLUDINGTOPIC%" }%" }%
{SmsTwoStepAuthContrib}{WhitelistAddresses}
do this: Author: | TWiki:Main.PeterThoeny |
Copyright: | © 2014 Wave Systems Corp. © 2014-2021 TWiki:Main.PeterThoeny © 2014-2021 TWiki:TWiki.TWikiContributor |
License: | GPL ( GNU General Public License) |
Sponsor: | Wave Systems Corp. |
Version: | 2021-04-11 |
2021-04-11: | TWikibug:Item7927: Copyright update to 2021 |
2020-08-26: | TWikibug:Item7851: Copyright update to 2020 |
2016-01-17: | TWikibug:Item7708: Copyright update to 2016 |
2014-09-22: | TWikibug:Item7539: Add {TwoStepAuth} configuration, with 'disabled', 'optional' and 'required' two-step authentication modes |
2014-09-11: | TWikibug:Item7540: Add debug flag and debug code |
2014-09-10: | TWikibug:Item7540: Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 6.0 |
CPAN Dependencies: | none |
Other Dependencies: | none |
Perl Version: | 5.005 |
Plugin Benchmark: | GoodStyle nn%, FormattedSearch nn%, SmsTwoStepAuthContrib nn% |
Home: | http://TWiki.org/cgi-bin/view/Plugins/SmsTwoStepAuthContrib |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/SmsTwoStepAuthContribDev |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/SmsTwoStepAuthContribAppraisal |
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
md5 | SmsTwoStepAuthContrib.md5 | r7 r6 r5 r4 r3 | manage | 0.2 K | 2021-04-11 - 21:38 | PeterThoeny | |
tgz | SmsTwoStepAuthContrib.tgz | r7 r6 r5 r4 r3 | manage | 188.8 K | 2021-04-11 - 21:38 | PeterThoeny | |
zip | SmsTwoStepAuthContrib.zip | r7 r6 r5 r4 r3 | manage | 195.4 K | 2021-04-11 - 21:38 | PeterThoeny | |
ext | SmsTwoStepAuthContrib_installer | r2 r1 | manage | 4.3 K | 2021-04-11 - 21:38 | PeterThoeny |