Forum Discussion
bean_127108
Nimbostratus
Oct 23, 2003security of the script
According to the sample source code of Ictrol,if want to disable a node,we have to write the password,like this:
[wzl@ra3 LocalLB]$ perl LocalLBNode.pl 10.0.16.245 443 admin 123456
Node 10.1.1.1:80 state set to: Disabled
Any better solution?
Thanks.
- That is the implementation of the sample code which was designed to be isolated stand-alone examples of the use of some of our interfaces and methods. The goal wasn't to provide recommendations for building secure client applications. Obviously it is not recommended to include a username and password in clear text in any production code. Most generally passwords are encrypted and stored in a separate location (most likely a database) and retrieved and decrypted by the calling application before issuing the web service request. In the case of these sample applications it is also possible to remove the credentials from the command line arguments and then prompt for them afterwards and mask the password with asterisks.
- bean_127108
Nimbostratus
Thanks. - I would concede that SOAP is probably slower than a point to point ssh connection. But, using a structured API like iControl provides many benefits over that of issuing "remote commands".
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