Constant variable names cc4m_logo_inline

IDSECURITY-5
TitleAvoid constant variable names as: username, loginname, password etc.
PriorityMandatory
Severity level3
DescriptionAvoid the use of contant variable names as: username, loginname, password, credentials etc, instead obtain these via a user input action or read them from a (secured) file.
RationaleFor security reasons, it is discouraged to use hard-coded username and or password since this way they can be easily shared with others accidentally.

Avoid:

username = 'myName';
password = 'myPassword';

Instead use:

username = fileread('C:\Users\my.name\name.txt');
password = fileread('C:\Users\my.name\pwd.txt');