[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Preventing changes on a file

I know that you can make a file's attributes hidden, system or read-only. but is there any way to prevent another file with the same name from overwriting the current one? for example, i had to reinstall win95, and it deleted my autoexec.bat. anyway to prevent this from happening?
0
GreatOne
Asked:
GreatOne
1 Solution
 
ckezemaCommented:
The only way of protecting a file like autoexec.bat is to change the attributes, like you stated, to read-only, and even hidden.

It is not a total protection though, because Win95 will allow you to delete or overwrite read only files, but will warn you first (if you do it in explorer...)

Anyways..another thing to do would be to make sure and back up any important files, then if they do get deleted or overwritten, at least you have another copy...

hope this helps.

Conan
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now