- Added more cases to the DataOutputStream
- Added sending password to server (will fix later tomorrow to improve security)
- Created checkDatabase methods that check if users have permissions and are in the users and permissions databases
- Created setupUser methods that will setup users in the users and permissions databases if they do not exist from the checkDatabase method
- Added more code to strengthen the server-client relationship
It's a bit tough to explain what the code actually does, since really it is pretty miniscule, but it has a large impact on how the program functions. Most of the code was added on the server-side end, but code was added client-side to send more information to the server (passwords, etc.). I'm hoping to work on user authentication soon, since this code will make that pretty easy.
I just had a look at SQLConnection.java, and I hope you've seen xkcd.com/327
ReplyDelete