here is code to delete the hidden password file
//ut_RemovePassword
// This method will remove saved passwords
// add to start up method
C_TEXT($mdpFile_txt)
ARRAY TEXT($Files_atxt;0)
$mdpFile_txt:=Get 4D folder(Active 4D Folder)+"Favorites
v"+Substring(Application version;1;2)+Folder separator+"Remote"+Folder separator
DOCUMENT LIST($mdpFile_txt;$Files_atxt)
C_LONGINT($fileIndex_L)
$fileIndex_L:=Find in array($Files_atxt;"@.mdp")
If ($fileIndex_L>0)
$mdpFile_txt:=$mdpFile_txt+$Files_atxt{$fileIndex_L}
If (Test path name($mdpFile_txt)=Is a document)
DELETE DOCUMENT($mdpFile_txt)
If (OK=1)
//ALERT("Stored Password in file "+$mdpFile_txt+" cleared!")
Else
ALERT("Error Deleting Stored Password file "+$mdpFile_txt+"! You will have to
do this manually.")
SHOW ON DISK($mdpFile_txt)
End if
End if
Else
//ALERT("There is no Stored Password file!")
End if
------------------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306
Informed Solutions, Inc. Fax: (617) 232-1064
mailto:cjmiller<AT SIGN>informed-solutions.com
Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D and Sybase connectivity
http://www.informed-solutions.com
------------------------------------------------------------------------------------------------
> On Nov 7, 2016, at 12:59 PM, Timothy Penner <[email protected]> wrote:
>
> Another option could be removing the 4dlink file:
> http://kb.4d.com/assetid=76151 <http://kb.4d.com/assetid=76151>
> ^this routine could be implemented in code if you wanted to prevent the user
> from saving the password.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************