SynopsisDefine the password to use for implementing the default security policy. Prototype#include "webs.h" void websSetPassword(char_t *password); Parameters
DescriptionThe websSetPassword procedure defines the current security password. The default security handler will require all non-local requests (those from a remote system) to supply the password. The user name is ignored. To use the password feature, the security handler must be installed by calling websHandlerDefine for websSecurityHandler. This in done automatically in the GoAhead EMF. If you are using the GoAhead WebServer, this should be done in your main program. See main.c for examples. Return ValueNone ExamplewebsSetPassword("2much!"); Stability ClassificationStable. See Also |