Creating a secure SQL server login - CHECK_EXPIRATION & CHECK_POLICY
- by cabhilash
In SQL Server you can create users using T-SQL or using the options provided by SQL Server Management Studio.
CREATE LOGIN sql_user WITH PASSWORD ='sql_user_password' MUST_CHANGE,
DEFAULT_DATABASE = defDB,
CHECK_EXPIRATION = ON,
CHECK_POLICY = ONAs mentioned in the previous article…