DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Hardware and Software >> Read-Only
Pages:  
Showing posts 1 - 4 of 4, (reverse)
AuthorThread
09/06/2006 06:44:52 AM · #1
Just curious?

How many take the simple protective measure of marking all their photo archives as "read-only" to help prevent deletion from a malignent batch script or virus?

09/06/2006 06:46:31 AM · #2
If you count creating DVD backup's of all my image files the same as marking them "read only", then I raise my hand.
09/06/2006 06:55:44 AM · #3
Unfortunately, marking them read-only does nothing to stop a malicious script from deleting files.

In programming terms, what is used in script is the FileSystemObject. The delete method of that object requires a file name to delete, and an optional parameter called [force]. If force is set to TRUE, then the file will be deleted regardless of the read-only bit being set.

Your only real protection is backups and anti-virus software.
09/06/2006 07:02:08 AM · #4
Read-only

Delete

This file is read only, are you sure you want to delete it?

yes

bye bye

Message edited by author 2006-09-06 11:02:17.
Pages:  
Current Server Time: 04/07/2025 10:25:05 AM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 04/07/2025 10:25:05 AM EDT.