NetTalk Central

Author Topic: NTWS and Secwin  (Read 3710 times)

seanh

  • Jr. Member
  • **
  • Posts: 93
    • View Profile
    • Email
NTWS and Secwin
« on: August 21, 2017, 07:04:19 PM »
We have a normal wndows app and would like a very limited NTWS for one small part.

Is it possible to control the WS access from the Normal Windows app?
Is it possible for a supervisor to set who goes into the WS without emails flying around.  We want the same logon as the windows app.



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NTWS and Secwin
« Reply #1 on: August 21, 2017, 10:05:15 PM »
hi Sean,

>> Is it possible to control the WS access from the Normal Windows app?

sure. The WS app is just a clarion app, and you have control over the login method you use.
So you can create an maintain that method from a desktop app just fine.

>> Is it possible for a supervisor to set who goes into the WS without emails flying around.

yes.

>> We want the same logon as the windows app.

so you'll just use your same "check login values" code then.
The webserver has a method in WebHandler called Authenticate.
This takes in a user name and password.
You can add code here to return true or false. Whatever code you like. It's as easy as that.

cheers
Bruce