File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Preventing password saving Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Preventing password saving" Watch "Preventing password saving" New topic

Preventing password saving

kat luna

Joined: Jul 20, 2001
Posts: 16
Hi all,
Our new security standards require our company web apps to prevent users from saving their passwords using IE's "Save password" function. Does anyone know what to add to the JSP, or how to construct the login page so that no browser can save/store the password?
Guy Montag

Joined: Jul 02, 2003
Posts: 1
You can turn off autocomplete by designating autocomplete="off" in your form tag. For instance:
<FORM name="login" METHOD="Post" autocomplete="off" ACTION="authenticate.jsp">
You can also have your users turn off autocomplete in their browsers by going to TOOLS -> Internet Options -> Content (this is a simple fix that should be set out in company policy).
Good Luck.
I agree. Here's the link:
subject: Preventing password saving