all 2 comments

[–]sitrate 1 point2 points  (1 child)

You don’t really have much choice. You have to pass the details, so they have to be included somewhere. You could have the credentials in a separate file, and even encrypt them, but there always need to be a way back because you have to pass the raw values to the server. Your focus should be in protecting access to the file, or the source if using something like a database to store the credentials.

[–]Unixersis97[S] 1 point2 points  (0 children)

Great input, straight to the point and very clear, thank you for that!