Tuesday, October 7, 2014

10/7/14

Today I started coding some very confusing things, mainly to do with SQL column creation and user account handling. They are all done via a Switch and DataInputStream, and are handled in the server-client relationship.

  • 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.

1 comment:

  1. I just had a look at SQLConnection.java, and I hope you've seen xkcd.com/327

    ReplyDelete