#198591 - 2010-05-12 08:42 AM
Re: WriteProfileString with write empty values
[Re: AvAxx]
|
AvAxx
Just in Town
Registered: 2006-11-06
Posts: 3
|
Yes, it is against logic. INI file for which I have addressed this issue contains the keys Username and Password. These keys have to be defined with value or no value.
- without value - when you start the login window appears with empty fields username and password
- values - if both keys are defined with a value program tries to apply directly
- keys do not exist - the program automatically uses the login name as "admin" / password "admin" and tries to apply directly
[When username and password are invalid program throws an error window. After confirmation appear pre-filled logon window]
Because the user can set the default username and password through the GUI (the password is stored in plain text). And so was the auditing script that removes the password, but leave the key in the INI file.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 878 anonymous users online.
|
|
|