
51
W&T
Subject to errors and modifications
3.7.5 Password protection
As already mentioned earlier, the Web-IO enables you in TCP
server mode to protect access through the application using a
password.
Before the actual connection to the Web-IO is opened, the
BinInfo
structure defined here must be sent over a separate TCP
connection to the HTTP port (factory set to Port 80) on the Web-
IO.
For the reply the Web-IO also uses the structure
BinInfo
.
The individual variables of the structure are filled in as follows:
HTTPLogin[n]
Ist ein Bytefeld bzw. String, der sich aus einem Loginstring und
dem verwendeten Administrator-Passwort zusammen setzt.
GET /bin?LPW=
<Administator Passwort>
&
n stands for the number of bytes used and corresponds to 14 +
the length of the password. The length of the password is limited
to 31 characters.
In the reply from the Web-IO HTTPLogin is always 8 characters in
length and contains the following string:
GET /bin
Dummy
Slash between the ASCII and the binary section of the structure.
BinInfo
BYTE[n]0
HTTPlogin
n = 14 bytes + password
(PC <-> Web-IO
WORD
dummy
always 0
BYTE
type
type of request
BYTE
subtype
additional information
LONG
srcip
source ip-address
WORD
srcport
source port
WORD
destport
destination port