Fischi
C# WPF Login Oracle Database
So I'm making a login system with C# WPF and I use Oracle DB. As I understood oracle it only has one database unlike MSSQL. What I did now is, I created a user and under this user I created a table (USERLIST) for my logins.
For the login I use a connectionString ("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL ......) which the user I mentioned above. This connection string is static. After that I would make a querry to check the username and password fits with the credentials mentioned in my WPF.
My question is if i should let the connection String hardcoded like that or is there a way to combine it with my USERLIST or even another way that better like maybe using the Oracle User from the database itself?
17 replies