Skip to content

Commit 7f46c0b

Browse files
Create README.MD
This Readme includes code usage of ServiceNow Password Strength Checker
1 parent 0bf63e5 commit 7f46c0b

File tree

1 file changed

+17
-0
lines changed
  • Server-Side Components/Script Includes/Password Strength Checker

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
This repository contains a ServiceNow Script Include + Client Script demo for enforcing password strength during user registration or password reset processes.
2+
Overview
3+
4+
The goal is to ensure that any password set in ServiceNow (e.g., through a Catalog Item or custom form) follows strong security rules:
5+
At least 8 characters
6+
At least 1 uppercase letter
7+
At least 1 lowercase letter
8+
At least 1 number
9+
At least 1 special character
10+
If the rules are not met, the system flags the password as Weak Password.
11+
12+
Example :
13+
Imagine you build a User Registration Catalog Item where a field Proposed Password is entered by the user.
14+
On change of this field, the Client Script runs.
15+
It calls the PasswordUtil Script Include.
16+
If the password is weak, the form shows an inline error message, preventing weak password submissions.
17+
This ensures consistent security enforcement across ServiceNow forms.

0 commit comments

Comments
 (0)