Embedded TCP/IP stack  4.7.0
fnet_http_srv_auth_t Struct Reference

HTTP Authentication table. More...

Data Fields

fnet_char_trealm
 Name of realm. A realm can be seen as an area for which the credentials are used. This is also the string that is shown when a WEB browser pops up the login window, for example: "Please enter your username and password for <realm>"
It is optional and can be set to zero. In this case the sent realm will be equal to the dir_name parameter. More...
 
fnet_char_tdir_name
 Name of the directory to protect. To protect all directories, set it to "". More...
 
fnet_char_tuserid
 Required user name to access this directory. More...
 
fnet_char_tpassword
 Required password to access this directory. More...
 
fnet_http_srv_auth_scheme_t scheme
 Used Authentication Scheme. More...
 

Detailed Description

HTTP Authentication table.

HTTP server protects specified directories from unauthorized access. Directories that are not registered in this table are accessible by anyone. The last table element must have all fields set to zero as the end-of-table mark.

With HTTP authentication, the following things occur:

  1. A client requests access to a protected resource.
  2. The web server returns a dialog box that requests the user name and password.
  3. The client submits the user name and password to the server.
  4. The server validates the credentials and, if successful, returns the requested resource.
See also
fnet_http_srv_auth_scheme_t, fnet_http_srv_params_t

Definition at line 64 of file fnet_http_srv_auth.h.


The documentation for this struct was generated from the following file:

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net