Protects and unprotects a file using password
Creates another copy of the file that is protected or unprotected
You just need to call it giving it the file to protect, the destination file and password
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net
Linkedin LoginFile2Protect, DestFile, Pwd
or
File2Unprotect, DestFile, Pwd
or
File2Unprotect, DestFile, Pwd
Sub Test_Encrypt()
File1 = "D:\Folder\File-Open.txt"
File2 = "D:\Folder\File-Lock.txt"
ProtectFile_XorD File2, File1, "ThyPassword"
UnProtectFile_XorD File1, File2, "ThyPassword"
End Sub
File1 = "D:\Folder\File-Open.txt"
File2 = "D:\Folder\File-Lock.txt"
ProtectFile_XorD File2, File1, "ThyPassword"
UnProtectFile_XorD File1, File2, "ThyPassword"
End Sub
Views 1,478
Downloads 460
CodeID
DB ID