Re: Configur webserver entirely from WEB - WeOnlyDo Discussion board

Re: Configur webserver entirely from WEB (General questions)

by woddrazen, Monday, May 10, 2010, 00:51 (5073 days ago) @ smith

Smith,


wodWebServer has Events. When some action is preformed by client wodWebServer Event for that action is fired.

For example when client connects to server and authentication is used UserAuthenticate Event is fired.

Inside you can allow some users to authenticate with server and deny others.
[code]If User.Login = some_value1 And User.Password = some_value2 Then
Action = Allow
Else
Action = Deny
End If[/code]
You can use direct values inside your code that will allow users to authenticate with server or you can read it from file, database ...

So when UserAuthenticate Event is started you can read some_value1 and some_value2 from some file and use it in wodWebServer code for Login and Password value.

That file can be changed at any time and for using it you can uploaded it to proper place on server. Is there any chance you can try something like that?


Drazen


Complete thread: