erskinej
May 21st, 2009, 04:58 AM
My code is currently using:
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Plenty of threads on the forum referencing this but nhone seem to cover my security concerns and are more focussed on use of.
This restricts the user login name to the value returned and the users Application password is stored in the database as an encrytped value along with an encrypted version of their Database password.
I now need to satisfy new requirements declared by Security:
Passwords -
No repeat of last 18 passwords (requiring password history), minimum length AND must contain 3 character types (UPPER, lower, number or special)
OR......
SSO (single sign on) via Domain Authentication
Does advapi32 suffice as Domain Auth? Where does it come from? Can it be spoofed? If not, then it is as good as, unless they require that the user re-confirm their windows login. If so, is this possible with VB6? :confused:
FYI - my app already has the ability to auto-login (to the app itself) using the username returned via advapi32 but this is currently disabled.
Help?!?!?!?!?!?
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Plenty of threads on the forum referencing this but nhone seem to cover my security concerns and are more focussed on use of.
This restricts the user login name to the value returned and the users Application password is stored in the database as an encrytped value along with an encrypted version of their Database password.
I now need to satisfy new requirements declared by Security:
Passwords -
No repeat of last 18 passwords (requiring password history), minimum length AND must contain 3 character types (UPPER, lower, number or special)
OR......
SSO (single sign on) via Domain Authentication
Does advapi32 suffice as Domain Auth? Where does it come from? Can it be spoofed? If not, then it is as good as, unless they require that the user re-confirm their windows login. If so, is this possible with VB6? :confused:
FYI - my app already has the ability to auto-login (to the app itself) using the username returned via advapi32 but this is currently disabled.
Help?!?!?!?!?!?