NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: seanh on August 21, 2017, 07:04:19 PM

Title: NTWS and Secwin
Post by: seanh 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.


Title: Re: NTWS and Secwin
Post by: Bruce 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