• RE: [WINServer] Login

    From Robert.Wolfe@Robertwolfe.Org@1:124/5013 to All on Fri Jan 20 10:12:57 2023
    Newsgroups: wclistserve.win.server
    Received: by winserver.com (Wildcat! SMTP Router v7.0.454.6)
    for WINServer@winserver.com; Mon, 26 Nov 2018 20:24:42 -0500 Authentication-Results: dkim.winserver.com;
    dkim=pass header.d=robertwolfe-org.20150623.gappssmtp.com header.s=20150623 header.i=robertwolfe-org.20150623.gappssmtp.com;
    Received: from mail-yb1-f171.google.com ([209.85.219.171])
    by winserver.com (Wildcat! SMTP v7.0.454.6) with ESMTP
    id 2278815258.1.312; Mon, 26 Nov 2018 20:24:41 -0500
    Received: by mail-yb1-f171.google.com with SMTP id f6-v6so6944067ybg.12
    for <WINServer@winserver.com>; Mon, 26 Nov 2018 17:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=robertwolfe-org.20150623.gappssmtp.com; s=20150623;
    h=from:to:references:in-reply-to:subject:date:message-id:mime-version
    :thread-index:content-language;
    bh=pKjOAtfe08YuTLakm3TtsV8EyfXlATD29Ctwmvg5q/s=;
    b=cyrZZ5x0IAB1rcBRbQ7C7GaxabvLwICe1UPHZt0yZeIehHaURUOIOSGzE+r7cXtdAP
    AVccWfgCZOMhWxzsb2w9eZD4oZvy4eJkyO+favgiRi0EaN4XXqFx7XjoedIHlNBv5M8b
    eYBpxL4ohDSb6+GUC/PUR5Oq096IJ2gkmJkfn5/WuqZypm+w9U3Xqu7MCesZdnlJ82Gy
    glgPwNMgEHT+ovkcF3fx7boISx7CQ8zflgDz+IZd8nCATWkvhIpJ4hs4DzSMxQSViPS4
    qLxQa5+n/TFNdbqgmfGMxIFSiXpUTTsUfY7EhSmdX+vlLbLpdblqQkbIW9juQXfpGcqY
    TDjg==
    X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=1e100.net; s=20161025;
    h=x-gm-message-state:from:to:references:in-reply-to:subject:date
    :message-id:mime-version:thread-index:content-language;
    bh=pKjOAtfe08YuTLakm3TtsV8EyfXlATD29Ctwmvg5q/s=;
    b=sg5jlYFcod6VtL1lZDqCdJeoI09EXRPNTiY0+hiic347wp0P1VgsSJAN3ybNQaAD+s
    /2SgdCv7vxz+sZMkQpw0ecC7WsikHpxJOLztutKYklVDVn5ZGAKWUlR/lgGCH2Mg+ojn
    NKzfq2Q7XRg8jI3h5eCS8Y+0CPB58mZiifxo3d54QQcnr1Q84Icp6H1Cp0FFLNx7f89E
    biAa0rTV+t0Sv46ezZJ+NZn5jKsRlx4OIlqQEoCfhuAkEIoNx2J5eGpxX9bfTXlBcX/F
    /gem8auUCnhz5OFQ0RhQwqGB+9YwgTb/J7V6XBzCOPKF02YJGAuqlL99GibUJbpwf7v1
    ucWQ==
    X-Gm-Message-State: AA+aEWYndGvqWZXaPoKlnLrUpSEt0RHvDOZf/H/ChCY1IEI1AnfR+G/j
    TPsx7hV2oRXOYN3iOepi4qSP+LpGrEs=
    X-Google-Smtp-Source: AFSGD/VazKoQxgiSXpDkmUsqzPdT4VCjwEsi7OHceoeDfbQELeMNxHSB7JAH7fuueQr01jMt9teidQ= =
    X-Received: by 2002:a25:484:: with SMTP id 126-v6mr31566427ybe.361.1543281869638;
    Mon, 26 Nov 2018 17:24:29 -0800 (PST)
    Return-Path: <robert.wolfe@robertwolfe.org>
    Received: from DESKTOPTPI97AD (45-19-112-57.lightspeed.mmphtn.sbcglobal.net. [45.19.112.57])
    by smtp.gmail.com with ESMTPSA id f10sm2907460ywb.26.2018.11.26.17.24.29
    for <WINServer@winserver.com>
    (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
    Mon, 26 Nov 2018 17:24:29 -0800 (PST)
    From: <robert.wolfe@robertwolfe.org>
    To: <WINServer@winserver.com>
    References: <HE1PR0102MB3066880767658EEE33799734D7D70@HE1PR0102MB3066.eurprd01.prod.exchang elabs.com>
    In-Reply-To: <HE1PR0102MB3066880767658EEE33799734D7D70@HE1PR0102MB3066.eurprd01.prod.exchang elabs.com>
    Subject: RE: [WINServer] Login
    Date: Mon, 26 Nov 2018 19:21:56 -0600
    Message-ID: <025401d485ef$96b50270$c41f0750$@robertwolfe.org>
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="----=_NextPart_000_0255_01D485BD.4C1B7CD0"
    X-Mailer: Microsoft Outlook 16.0
    Thread-Index: AQE+pTSrFQasqmsFSE3qBA1YEhhEiaaOlLVA
    Content-Language: en-us

    The web interface or the telnet interface?



    From: listadmin-winserver@winserver.com <listadmin-winserver@winserver.com>
    On Behalf Of David King
    Sent: Monday, November 26, 2018 2:12 PM
    To: WINServer@winserver.com
    Subject: [WINServer] Login



    Hi



    Can anyone advise how the login system on the winserver.com and
    santronics.com web site works as I have been attempting to mimic the same
    style of login but appear to be unable to do so.



    Cheers



    Dave




    ---------------------------------------------------------------------
    To unsubscribe, send e-mail to wclistserve@winserver.com <mailto:wclistserve@winserver.com> with
    UNSUBSCRIBE WINServer in the message body on a line by itself.
    To contact the list admin, e-mail ListAdmin@winserver.com <mailto:ListAdmin@winserver.com> ---------------------------------------------------------------------
    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From Winserver.Support@Winserver.Com@1:124/5013 to All on Fri Jan 20 10:12:57 2023
    Newsgroups: wclistserve.win.server
    Received: by winserver.com (Wildcat! SMTP Router v7.0.454.6)
    for WINServer@winserver.com; Mon, 26 Nov 2018 18:58:04 -0500 Received: from [192.168.1.68] ([99.121.5.8])
    by winserver.com (Wildcat! SMTP v7.0.454.6) with ESMTP
    id 2273617539.1.804; Mon, 26 Nov 2018 18:58:04 -0500
    Message-ID: <5BFC888D.1030005@winserver.com>
    Date: Mon, 26 Nov 2018 18:58:05 -0500
    From: Hector Santos <winserver.support@winserver.com>
    Organization: Santronics Software, Inc
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.8.1
    MIME-Version: 1.0
    To: WINServer@winserver.com
    Subject: Re: [WINServer] Login
    References: <HE1PR0102MB3066880767658EEE33799734D7D70@HE1PR0102MB3066.eurprd01.prod.exchang elabs.com>
    In-Reply-To: <HE1PR0102MB3066880767658EEE33799734D7D70@HE1PR0102MB3066.eurprd01.prod.exchang elabs.com>
    Content-Type: multipart/mixed; boundary="------------010706010402090203030809"

    On 11/26/2018 3:12 PM, David King wrote:> Hi

    Can anyone advise how the login system on the winserver.com and santronics.com web site works as I have been attempting to mimic the
    same style of login but appear to be unable to do so.

    Cheers

    Dave

    Start with the STOCK installation of http\ files.

    It is a long evolved history for the "Web Authentication" system. It
    was once optional and it began with an zip file that was distributed
    via the AUP and CD but it was optionally installed.

    wcWebAuth.zip

    But today, it is automatically unzipped. If you say NO to the
    AutoUpdate "Upgrade Web Authentication?" question, I think the zip is
    placed in your wildcat folder.

    It is still is documented in the AUP.CHM "Web Authentication" section
    as if this file exist for manually installation and it has the old
    listing of files that were in the zip. The current files are in the
    zip are:

    2905 05-29-12 03:54 http/errors/errors.wct
    772 12-25-08 12:45 http/errors/NoClientAccess.wct
    473 09-24-08 22:15 http/errors/NotFound.wct
    600 07-12-02 07:34 http/errors/NotValidated.htm
    2415 03-02-07 15:25 http/errors/NotValidated.wct
    1802 01-07-08 09:28 http/errors/passwordchange.wct
    3922 06-11-12 04:14 http/errors/readme_errors.txt
    208 07-12-02 05:27 http/errors/SignupDupeAccount.htm
    1580 01-17-09 07:40 http/errors/UserNotLoggedIn.wct
    144 06-11-12 04:14 http/errors/verinfo.dat
    1705 05-18-12 07:15 http/public/AccountCreated.wct
    1421 09-26-06 07:49 http/public/CookiesHelp.htm
    650 01-08-10 17:06 http/public/forgotpassword.wct
    1371 10-16-09 01:55 http/public/login.wct
    983 12-07-09 10:43 http/public/logout.wct
    967 05-20-12 02:00 http/public/newuser.wct
    195 06-11-12 07:53 http/public/verinfo.dat
    1293 04-26-05 11:44 http/public/warning-no-cookie.wct

    WCWEB now required its file and templates in order to work properly,
    so its no longer optional. By 454.3 update it was auto unzip, see the
    upgrade information.

    http://www.winserver.com/public/aup/upgradeinfo.htm

    The help is still valid for the remaining details. It needs to be
    updated to say the files are already installed.

    http://www.winserver.com/public/aup/webauthsummary.htm

    Once you have all the stock files in place, you can now go to:

    WCCONFIG | WEB Server | Authentication options

    and select how you want the user to login:

    Do you want the user to get the browser to POPUP a login box?
    Browsers will do this for BASIC or DIGEST Authentication because it is
    built into the browser.

    Do you want the user to get a LOGIN form on the browser page? This
    is not built into the browser, so wcWEB will create the display for Cookie-based or WcNavigator authentication.

    We designed and spent of lot of time, testing it when all methods are
    checked because if the user does not allow javascript, then
    cookie-based login will not work. So we attempted to be smart to do
    the method that matches the user and his browser. If the user has no javascript for security reasons, he will see BUTTONS to start
    BASIC/DIGEST, otherwise he sees the login form.

    It works 90% of the time. So my recommendation is to choose two and
    what you are requesting, choose the following:

    [X] Allow WcNavigator Web Login Challenge
    [X] Allow Cookie-based Authentication

    Now play with the login. You will see a login form similar to that
    you see at winserver.com, but without the image. That requires
    understanding how to use one of the example "PrintLoginForms" examples.

    You can read the AUP.CHM sections, in particular the example login forms.

    Web Authentication
    http://www.winserver.com/public/aup/WebAuthSummary.htm
    Requirements and Setup
    http://www.winserver.com/public/aup/WebAuthSetup.htm
    Configuration
    http://www.winserver.com/public/aup/WebAuthConfig.htm
    Using Cookie Authentication http://www.winserver.com/public/aup/WebAuthCookies.htm
    Authentication URLs
    http://www.winserver.com/public/aup/WebAuthUrls.htm
    Authentication Templates http://www.winserver.com/public/aup/WebAuthTemplates.htm
    Example Login Forms http://www.winserver.com/public/aup/example-printloginforms.htm
    Authentication Tips
    http://www.winserver.com/public/aup/WebAuthTips.htm

    There are three zip files in the AUP.CHM that you can download, see
    he example login forms page:

    PrintLoginForms.zip
    WcCrossLogin.zip
    html-xdl.zip

    Download the zips from withing the AUP.CHM in the example section.
    The wcCrossLogin and html-xdl zips are the one used by santronics.com
    to do a cross domain login to winserver.com. I am not going to go
    into detail about this now. Too complex because you have to make
    detail changes to your existing pages where you want to place a
    "little login box" to do a cross domain login. But I will explain the
    more simpler PrintLoginForm system:

    PrintLoginForms.zip contains:

    C:\wcat>unzip -l printloginforms.zip
    Archive: printloginforms.zip
    Length Date Time Name
    ------ ---- ---- ----
    157 09-23-06 19:05 http/public/graphics/bar-bgtile.gif
    452 09-23-06 18:51 http/public/graphics/bar-but_login.gif
    11322 09-23-06 18:50 http/public/graphics/bar-globe.gif
    1313 05-13-06 01:44 http/public/graphics/bg-gradient.jpg
    336138 09-28-06 04:57 http/public/graphics/Forest2test.png
    6883 08-22-07 12:16 http/public/printloginform-box.wct
    7166 10-06-06 02:40 http/public/printloginform-navcb.wct
    2023 10-06-06 02:35 http/public/printloginform-topbar.wct
    3067 02-24-09 06:25 http/public/printloginform-topbarcat.wct
    1580 02-23-09 16:54 http/public/PrintLoginForm-ajax.wct
    332 02-22-09 10:47
    http/public/printloginform-google-like-footer.wct
    975 02-22-09 10:36
    http/public/printloginform-google-like-header.wct
    521 02-22-09 10:58
    http/public/printloginform-google-like-intro.wct
    8108 02-23-09 02:50 http/public/printloginform-google-like.wct
    5124 02-22-09 12:14 http/public/PrintLoginForm-nav.wct
    1465 02-22-09 10:02 http/public/printloginform-splash.wct
    2994 02-24-09 06:58 http/public/printloginform.wct
    ------ -------
    389620 17

    The one used at winserver.com is printloginform-splash.wct.

    Read this file for instructions. But I see a typo in it. Here is the corrected one:

    @COMMENT@ **************************************************************************

    File : printloginform-splash.wct
    Date : 11/26/2018
    Version: v7.0.454.6

    This is a special replacement custom login form that illustrates how
    to add a splash window to th cookie-base login form..

    To use, set following line is set in the
    "http\template\custom\LoginOptionsCustom.inc" file:

    @set Login.CustomForm="wc:\http\public\printloginform-splash.wct"@

    ************************************************************************** @ENDCOMMENT@

    <script language="JavaScript">

    InitWcLoginOptions();

    wcLoginOptions.SplashWindow.enable = true;
    wcLoginOptions.SplashWindow.src = "/public/graphics/wcLogoTop.bmp";

    if (CheckForCookies()) {
    PrintLoginForm();
    } else {
    PrintCookieWarning();
    }
    </script>

    @//@----------------------------------------------------------------------
    @//@ Drag Window Display
    @//@ Set IF condition to TRUE to enable window dragging @//@----------------------------------------------------------------------

    @IF FALSE@
    <script type='text/javascript' src='/public/js/dom-drag.js'></script>
    <script>
    var loginBox = document.getElementById("loginTable");
    var TitleBar = document.getElementById("loginTitleBar");
    if (loginBox && TitleBar) {
    loginBox.style.position = "relative";
    Drag.init(TitleBar, loginBox);
    }
    </script>
    @ENDIF@


    But for me, I placed "printloginform-splash.wct" in the
    http\template\custom\ folder, and for the "http\template\custom\LoginOptionsCustom.inc" file, I set
    Login.CustomForm to:

    @set Login.CustomForm="wc:\http\template\printloginform-splash.wct"@

    Thats it for winserver.com setup.

    Have fun!


    --
    Hector, Engineering & Technical Support
    Santronics Software, Inc.
    http://www.santronics.com (sales)
    http://www.winserver.com (support)
    http://www.winserver.com/AupInfo (Online AUP Help)
    Office: 305-248-3204

    begin:vcard
    fn:Hector Santos
    n:Santos;Hector
    email;internet:winserver.support@winserver.com
    tel;work:305-248-3204
    version:2.1
    end:vcard

    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)