Contents
Is it safe to give user ID?
The Income Tax Department has warned taxpayers against sharing their user ID and password with any unauthorised person, saying they too will be liable to face consequences for misuse of their confidential information.
What is a valid user ID?
Under normal circumstances, a valid user ID and password can contain the following characters: Lowercase characters {a-z} Uppercase characters {A-Z} Numbers {0-9}
What is a user ID and password used for?
authentication mechanism
The user name, or username, by which a person is identified to a computer system or network. A user commonly must enter both a user ID and a password as an authentication mechanism during the logon process.
Is it bad idea to generate random password string?
Props to @mwag for giving me the start to create this. As @RobW notes, restricting the password to a fixed number of characters as proposed in the OP scheme is a bad idea. But worse, answers that propose code based on Math.random are, well, a really bad idea. Let’s start with the bad idea.
Is it bad to have a fixed number of characters for a password?
Forcing a fixed number of characters is a bad idea. It doesn’t improve the quality of the password. Worse, it reduces the number of possible passwords, so that hacking by bruteforcing becomes easier. To generate a random word consisting of alphanumeric characters, use:
How to generate and set random password automatically for Windows user accounts?
Replace with the actual user account name to have a new random password, for example, A relatively secure, strong and random 8-character password would be display on screen, and automatically set as the new password for the user account specified.
What’s the worst way to generate a password?
Any password generated with Math.random () is EXTREMELY BAD. This function uses the system time as a seed for the random number generator. Anyone who knows the time the password was generated can easily brute-force the password.