|Title||Avoid constant variable names as: |
|Description||Avoid the use of contant variable names as: |
|Rationale||For security reasons, it is discouraged to use hard-coded username and or password since this way they can be easily shared with others accidentally.|
username = 'myName'; password = 'myPassword';
% Ask the user to provide a username and password, for example using a dialog: [username, password] = showLoginDialog();
Note: This is just one example of how to obtain credentials without hardcoding them. Ask your IT department for the available options.