Forum Discussion
Eray_27463
Nimbostratus
Oct 25, 2007Passing the credentials to the Load Balancer
Right now this's the way I initialize my F5 functions..
m_interfaces.initialize(LoadBalancerAddress, UserName, Password);
I don't want to hardcode username and password, and I don't want to store these credentials in plain text file. So how do people solve this security problem?
Thanks,
Eray
- Andy_Herrman_22
Nimbostratus
Well, you could come up with some kind of encryption and store the values in a text file using that, but since you would be hard-coding the encryption someone could probably reverse engineer it. - Agreed that hard coding is most likely not a good idea. You can either store the creds locally, or prompt the user for the credentials. If your application is going to be spread out among lots of people, then you should create multiple accounts for the end users (not the default admin account) and limit their privileges depending on what the application does (read-only vs. read-write). Also, I would make sure that that user doesn't have console privileges.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects