KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to undo the "Remember password" setting
PRODUCT: 4D | VERSION: 12 | PLATFORM: Mac & Win
Published On: February 24, 2011

When using the 4D password system, you can choose the "Remember password" option, which will save your username and password. This will allow you to bypass the login prompt and automatically log in from then on.

There may be certain situations where you want to undo this. For example, if you want end users to change their password or if you just do not want end users to be able to save their password.

When the "Remember Password" option is selected, the username and hashed password are saved in a 4DLink file which is saved in the local preferences folder. So in order to remove the saved password, you can either:

  • delete the whole 4DLink file, or
  • remove the encrypted password attribute (md5_password="...") within the 4DLink file

Both of these options can be accomplished programmatically.

Here is the location of the local preferences folder, where the 4DLink is created when connecting to a 4D Server using 4D (remote):

  • Windows Vista: C:\Users\UserName\AppData\Roaming\4D\Favorites v12\
  • Windows XP: C:\Documents and Settings\UserName\Application Data\4D\Favorites v12\
  • Mac OS: Users/UserName/Library/Preferences/4D/Favorites v12/