Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSingleFileSystem.ChangeFilesEncryption
TSingleFileSystem
Top 


Changes encryption of files stored in the single file system.

function ChangeFilesEncryption(FileMask: string; OldPassword: string = ''; NewPassword: string = ''; NewQuestion: string = '';NewAnswer: string = ''): Boolean;

Description
Call ChangeFilesEncryption to encrypt or decrypt files store inside the single file system, or to change their passwords, questions and answers.

The OldPassword parameter value different from default blank string specifies current password for files being processed.

The NewPassword parameter value different from default blank string indicates that the data is to be encrypted by this password. If NewPassword is blank then the file is decrypted.

The NewQuestion parameter indicates a question that may be asked if a user forgot his / her password to recover the password.

The NewAnswer parameter indicates an answer that must be given by a user to recover his/her forgotten password.

Result is True if change encryption process was successful and False otherwise.


© 2000-2004 AidAim Software LLC Single File System: Single File Syste