Home>Article>Operation and Maintenance> In Windows, in order to protect a file from being modified, how can you set its properties?

In Windows, in order to protect a file from being modified, how can you set its properties?

王林
王林 Original
2020-06-20 16:01:48 28164browse

In Windows, in order to protect a file from being modified, how can you set its properties?

In windows, in order to protect the file from being modified, its properties can be set to read-only.

What is read-only?

Readonly (readonly), also known as read-only, means that the document or attribute can only be read, and cannot be modified or stored. Some important files will be set to read-only status to avoid accidentally modifying the content of these documents. Unless the read-only status is lifted, these documents cannot be modified (a window will pop up to let you save as when saving).

Methods to add read-only attributes to files:

1. Set the file to read-only by modifying the file permissions. Most system files have read-only permissions;

2. Set the file read-only by modifying the file attributes (can only be applied to files).

The above is the detailed content of In Windows, in order to protect a file from being modified, how can you set its properties?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn