100
W&T
TCP / UDP - Binary
5.6.5 Passwort protection
As already mentioned several times, the Web-IO in TCP server
mmode makes it possible to protect access to the application
by means of a password..
Before the actual connection to the Web-IO is opened, the
BIN_INFO
structure defined here must be sent to Port 80 of the
Web-IO over a separate TCP connection.
The Web-IO also uses the
BIN_INFO
structure for its reply.
BinInfo
BYTE[n]
HTTPlogin
n = 14 Byte + Password
(PC <-> Web-IO)
WORD
dummy
always 0
BYTE
type
type of request
BYTE
subtype
additional type information
LONG
srcip
source IP address
WORD
srcport
source port
WORD
destport
detination port
The individual variables of the structure are filled as follows::
HTTPLogin[n]
Is a byte field or string consisting of a login string and the
administrator password..
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
restricted to max. 31 characters.
In the reply from the Web-IO HTTPLogin is always 8 characters
long and contains the following string::
GET
/bin
Dummy
Separator between the ASCII and binary part of the structure..
is always = 0x00
Summary of Contents for 57630
Page 8: ...8 W T Content...
Page 22: ...22 W T Assigning the IP address...
Page 44: ...44 W T configuring the network parameters...
Page 194: ...194 W T Diacnostics and testing...