Embedded TCP/IP stack
4.1.0
|
fnet_http_auth Struct Reference
HTTP Authentication table. More...
Data Fields | |
fnet_char_t * | realm |
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_t * | dir_name |
Name of the directory to protect. More... | |
fnet_char_t * | userid |
Required user name to access this directory. More... | |
fnet_char_t * | password |
Required password to access this directory. More... | |
fnet_http_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:
- A client requests access to a protected resource.
- The web server returns a dialog box that requests the user name and password.
- The client submits the user name and password to the server.
- The server validates the credentials and, if successful, returns the requested resource.
- See also
- fnet_http_auth_scheme_t, fnet_http_params
Definition at line 65 of file fnet_http_auth.h.
The documentation for this struct was generated from the following file:
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net