i am creating desktop application program to check username and password in lan network , and the username and passwords are stored in a different computer.
i thought of doing in two ways like .
1) i will running a server program where the database of username and password are stored ,so if a client sends the username and password to server and the server recieves them and checks normally .
2) this method is new to me ,when client wants to login with username and password,
he has to connect direct to lan sql database and checks for authentication .
my problem is which would be better .
if you think 2nd one is better how can i implement that .
THANKS IN ADVANCE
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)