This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
jQuery in Action, 3rd edition