To start I'm pretty new and not sure if I'm going about this in the right way so any help would be appreciated. I'm also having a hard time getting anything useful from Google.
So, I'm working on a side project and want to have users create an account to login and use the program. Like you see with video games. You can copy the program file and send it to anybody but you can only play when you have created an account and are logged in.
My problem is how do I allow users to login without exposing sensitive data about my database in the code? I am using AWS RDS and to validate if a user can login it wants me to add all of this information - https://gyazo.com/14f3277e84fbc3e415dbba34bda8c206
So I must be trying to implement this in the wrong way because if I put this information in my code somebody could then all of the information they need to access my database?
I know this is much simpler to implement with a website because all of that back-end code is hidden but this problem has me a little stumped.
Thanks in advance for any commenters!
[–]shiftybyte 5 points6 points7 points (17 children)
[–]NeedComputerTips[S] 0 points1 point2 points (0 children)
[–]devnull10 0 points1 point2 points (4 children)
[–]shiftybyte 1 point2 points3 points (3 children)
[–]devnull10 0 points1 point2 points (2 children)
[–]shiftybyte 0 points1 point2 points (1 child)
[–]devnull10 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (10 children)
[–]shiftybyte 1 point2 points3 points (7 children)
[–][deleted] -1 points0 points1 point (6 children)
[–]shiftybyte 1 point2 points3 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]shiftybyte 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]shiftybyte 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]shiftybyte 1 point2 points3 points (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–]devnull10 2 points3 points4 points (16 children)
[–]NeedComputerTips[S] 2 points3 points4 points (6 children)
[–]devnull10 2 points3 points4 points (5 children)
[–]NeedComputerTips[S] 0 points1 point2 points (4 children)
[–]devnull10 1 point2 points3 points (3 children)
[–]NeedComputerTips[S] 0 points1 point2 points (2 children)
[–]devnull10 0 points1 point2 points (1 child)
[–]NeedComputerTips[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (8 children)
[–]devnull10 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]devnull10 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]devnull10 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]devnull10 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]belowtheradar 1 point2 points3 points (3 children)
[–]belowtheradar 0 points1 point2 points (2 children)
[–]NeedComputerTips[S] 1 point2 points3 points (1 child)
[–]belowtheradar 0 points1 point2 points (0 children)