Tut Systems SMS2000 Switch User Manual


 
Customizing SMS2000 Web Authentication with RADIUS
TUT Systems, Inc Page 89 of 104 P/N 220-06288-20
<FORM NAME="PPAuth" ACTION="PP-Authenticate" METHOD=POST>
<INPUT TYPE=TEXT NAME="userid" SIZE=20 MAXSIZE=255 VALUE="">
<INPUT TYPE=PASSWORD NAME="pw" SIZE=20 MAXSIZE=255 VALUE="">
<INPUT TYPE="Submit" NAME="Login" VALUE="Login">
</FORM>
While these elements can be presented in any manner you choose, they must exist for the
SMS2000 to properly parse the login form.
Note:
It is possible to prevent unauthorized subscribers from gaining network
access without an authentication server. Configure the authfile.html without the
form for the default group and point the SMS2000 to a bogus RADIUS server.
Then use groups and rules to assign authorized subscribers to the other groups
without authentication.
Size For Web Pages and External Links
Tut Systems recommends that you use no more than 500K for all of customized web
pages, including text, graphics, javascript, and Java. However, if this is too restrictive,
you can place images on an external server. You must include an allow-net for that
server.
For example, given a web server 192.168.254.249 on which the file corplogo.jpg exists in
the DOCUMENT_ROOT directory, you can use the following URL in all of your
customized web pages:
<IMG SRC="http://192.168.254.249/corplogo.jpg">
Use the following if you run the allow-net command:
sms2000% set allow-net 192.168.254.249 255.255.255.255
Warning This allows unauthenticated users full access to the web server specified.
You can also provide limited access to any other servers using the allow-net feature,
including your corporate server and affiliates such as local merchants. By providing links
on the authfile.html page to those servers, subscribers can access them without paying.
Web Page Redirection
If you would like subscribers to be redirected to your corporate page or portal after
authenticating, you can replace “authok.html” with a web page using META HTTP-
EQUIV in the header.
The following page redirects a subscriber to the Tut Systems home page after
authenticating:
<HTML>
<HEAD>
<TITLE>URL Redirection</TITLE>
<META HTTP-EQUIV="refresh"
content="1;URL=http://www.tutsys.com/">
</HEAD>
<BODY>