Security

How to disable the "Save Password" pop up in all the browsers?
Suganya KandhasamyDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sam Simon NasserIT Support ProfessionalCommented:
are you talking about group policy? single user or multiple users?
for single user, in chrome, click the three dots, settings, and search for passwords.
1.pngthe disable it.

to setup group policy for chrome, download google chrome for enterprise https://support.google.com/chrome/a/?hl=en#topic=4386754

Also in this link you'll find options for GPO for all users for all browsers https://thycotic.com/company/blog/2013/09/09/securing-web-browsers-through-group-policy/
0
Suganya KandhasamyDeveloperAuthor Commented:
Thanks Sam for your comments. Is there any way to disable the popup via code. ( I am using Asp.Net / Javascript).
0
Sam Simon NasserIT Support ProfessionalCommented:
hmmmm  honestly i dont think so, you can do it via group policy, power shell script or logon script. but via ASP, sorry can't help. you are talking about locally installed software
0
Introducing the "443 Security Simplified" Podcast

This new podcast puts you inside the minds of leading white-hat hackers and security researchers. Hosts Marc Laliberte and Corey Nachreiner turn complex security concepts into easily understood and actionable insights on the latest cyber security headlines and trends.

Suganya KandhasamyDeveloperAuthor Commented:
Basically when i launch my application in browsers with "Password" field , the browser shouldn't show the pop up for saving the password in browser memory. PFA of the window shown to save password in chrome browser.
Save-Password-popup.png
0
Sam Simon NasserIT Support ProfessionalCommented:
this is different case! you should ask for scripts / programming, your question is general.
check here https://stackoverflow.com/questions/32775342/how-to-disable-chromes-saved-password-prompt-setting-through-javascript
For Chrome
First of all you must have to remove the attribute "password" of input type.

The main reason behind this is when you take input type = "text" and input type = "password" major browser shows that pop up. Because browsers have inbuilt functionality to show that pop up when you take input type = "password".

Now we can manipulate chrome from this.

Here is an example
<html>
<head>
   <title> Remove Save Password Pop Up For Chrome </title>
   <style>
       #txtPassword{
           -webkit-text-security:disc;
       }
   </style>
</head>
<body>
   <input type="text" id="txtUserName" />
   <br />
   <input type="text" id="txtPassword" />
   <br />
</body>
</html>

Open in new window



For Mozilla
You cannot do this in mozilla. Because -moz-text-security is obsolete. It is not working in mozilla.

But we can also manipulate mozilla.

Now there are list of character codes in html that is supported in all of the major browsers.

From that character code for bullet is '&#8226;'. When you write this code in html it will print bullet like this "•"

Now we can replace the text field with these bullets

But there is one limitation for this. You cannot print bullets inside the text box. But there is also solution for that limitation. Because everything is possible in programming world.

For that limitation we can make fake div that shows bullets when you write password.

Here is an example.
<html>
<head>
  <title> Remove Save Password Pop Up For Mozilla </title>
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js" type="text/javascript">
  <script>
      function RemoveSavedPassword() {
         if (jQuery.browser.webkit == undefined) {
             inputValue = $('.real-input').val();
             numChars = inputValue.length;
             showText = "";
        for (i = 0; i < numChars; i++) {
            showText += "&#8226;";
        }
        $('.fake-input').html(showText);
    }
 }
  </script>
</head>
<body>
    <div class="input-box">
       <label>Enter password:</label>
       <div class="fake-input"></div>
       <input type="text" onKeyUp="RemoveSavedPassword()" class="real-input">
    </div>
</body>
</html>

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Suganya KandhasamyDeveloperAuthor Commented:
I will try this..Thanks:)
0
Sam Simon NasserIT Support ProfessionalCommented:
question solved.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.