Check Password Strength And Generate Pass In Oracle Apex

Check Password Strength And Generate Pass In Oracle Apex

How To Check Password Strength And Generate Auto Strength Password In Oracle Apex

 

How To Check Password Strength And Generate Auto Strength Password In Oracle Apex.
In Today's Video And Post, I Will Try To Show You How To Check And Show Password Strength When Users Create Password In Oracle Apex Application, Also How To Generate Auto Strength Password When Users Create Password. Hopefully After Watching The Full Video And Post You Will Be Able To Use Password Strength Check And Auto Strength Password Generating Option In Your Apex Application, If You Have Any Problem In Video And Post Or If You Have Any Problem While Using Password Strength Check And Auto Strength Password Generating Option In The Application. If So, Comment Below. Your Cooperation Is Desirable.

I Need A Simple Password Command For Users When They Need To Create Or Change Their Passwords On My Website. After A While I Came Across A “low-budget Password Strength Estimator” Allegedly Used By Dropbox, So You Know It's Good That This JavaScript Library Is Fully Functional In A Client Browser And When A Personal Password Is Introduced, points. Is Available. From 0 (Very Poor) To 4 (Very Good). It May Also Provide Additional Feedback, Including A Message Of A Weak Password, And Suggestions For Making The Password More Secure. As We Know, Most Websites Have Their Own Password Policy. This Article Is Especially For Beginners Because Whenever You Create A Subscription Or Registration Page, You Should Know The Password Policy. If You Know A Password Policy, You Can Easily Enter Password Verification In Oracle Apex.

I Will Try To Show The Whole Process In Two Steps.

The First Step Will Show How To Check Password Strength. The Second Step Will Show How To Generate Auto Strength Password. Watch The Full Video And Post.

Steps How To Check Password Strength.

The First Step Will Show How To Check Password Strength. Take A Look At All The Steps For Check Password Strength.

1. I Will First Create A Blank Page Name- Check Password Strength and Generate Auto Strength Password
2. Create a New Region Name-Check Password And Generate Password
3. Create A New Item. Name- P00_PASSWORD

I Will Create A Function To Use to Check Password Strength. The Complete Function Is Given Below, You Can Copy And Use The Complete Script.

4. Go To Function And Global Variable Declaration From Page Properties Paste The Following Code-


  function CheckPassStrength(password) {
        var password_strength = document.getElementById("password_strength");
        if (password.length == 0) {
            password_strength.innerHTML = "";
            return;
        }
        var regex = new Array();
        regex.push("[A-Z]"); //Uppercase Alphabet.
        regex.push("[a-z]"); //Lowercase Alphabet.
        regex.push("[0-9]");
        regex.push(//Special Character.

        var passed = 0;
        
if (new RegExp(regex[i]).test(password)) {
                passed++;
            }
        }
        if (passed > 2  password.length > 8) {
            passed++;
        }
        var color = "";
        var strength = ""
        switch (passed) {
            case 0:
            case 1:
                strength = "Weak";
                color = "red";
                break;
            case 2:
                strength = "Good";
                color = "darkorange";
                break;
            case 3:
            case 4:
                strength = "Strong";
                color = "green";
                break;
            case 5:
                strength = "Very Strong";
                color = "darkgreen";
                break;
        }
        password_strength.innerHTML = strength;
        password_strength.style.color = color;
    }
5. Go To Password Item Properties > Advanced > Custom Attributes Paste The Following Code-
onkeyup="CheckPassStrength(this.value)"
6. Go To Password Item Properties > Advanced > Post Text Paste The Following Code-

    
    <span style="background-color: rgb(221 251 255); border-radius: 20px; 
        color : white ; font-size: 15px ; margin-left: 5px ;
        align - items: center ; align-self: center ; padding: 0px 8px ; "
        ID="password_strength">
    </span>

Our First Step, The Work Of Check Password Strength Is Almost Finished, Is The Password Strength Being Checked Properly? I Will Try It.

Steps How To Generate Auto Strength Password.

The First Step Will Show How To Check Password Strength Finished. The Second Step Will Show How To Generate Auto Strength Password. Take A Look At All The Steps For Generate Auto Strength Password.

I Will Create A Function To Use to Generate Auto Strength Password. The Complete Function Is Given Below, You Can Copy And Use The Complete Script.

1. Go To Function And Global Variable Declaration From Page Properties Paste The Following Script-
function auto_pass_generator( len ) {
    var length = (len)?(len):(10);
    var string = "abcdefghijklmnopqrstuvwxyz"; //to upper 
    var numeric = '0123456789';
    var password = "";
    var character = "";
    var crunch = true;
    while( password.length ) 
{
        entity1 = Math.ceil(string.length * Math.random()*Math.random());
        entity2 = Math.ceil(numeric.length * Math.random()*Math.random());
        entity3 = Math.ceil(punctuation.length * Math.random()*Math.random());
        hold = string.charAt( entity1 );
        hold = (password.length%2==0)?(hold.toUpperCase()):(hold);
        character += hold;
        character += numeric.charAt( entity2 );
        character += punctuation.charAt( entity3 );
        password = character;
    }
    password=password.split('').sort(function(){return 0.5-Math.random()}).join('');
    document.getElementById('new_password').value =  0;
    new_password.innerHTML = (password.substr(0,len));
    return password.substr(0,len);
}
2. Page HTML Body Attribute Paste The Following Code-
onload="auto_pass_generator();"
3. Go To Password Item Properties > Inline Help Text Paste The Following Code-

<span style="font-size: 15px; margin-left: 10px;" >
    Strong Password : 
        <span style="font-weight: 900;" id="new_password">
        </span>
</span>

The Whole Process Can Be Used In The Oracle Apex Application To Create A New User Account In The Powered Item. It Will Be Easy To Create Strong User Passwords. Thank You For Watching The Full Video And Post. If You Have Any Questions Or Suggestions About This Video / Post, Please Let Us Know In The Comment Box.

 

🔗 Demo Application-
            URL- Demo Application
            Username - demo, Pass- demo
 

I hope everyone will like it. Please watch the full video,
Comment on any of your problems, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable. Visit my blog site, new technology related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
Please stay tuned by subscribing to the YouTube channel, and encourages new videos to be uploaded.
=================
Visit my site to get more collaborative posts about Oracle Apex and subscribe to my YouTube channel. Thanks.
Comment on any of your issues, I will try my best to solve the problem, In-Shah Allah. Everyone's cooperation is desirable.
Visit my blog site, new technology-related videos, you will get different types of tutorials of Oracle Apex, and hopefully, you can use them in your daily work.
==============================

🙍🏾‍ Md jABER HOSSEN
📲 Mobile- +8801760688286
📨 Email- jaberit786@gmail.com
🌐 FB- facebook.com/mdjaber.hossen1
Please Subscribe to My Channel

Many thanks for visiting the site.

Then Enjoy.........................

Post a Comment

Hlo Sir

Previous Post Next Post