# Security

**Workbook Security**\
\
If you use a computer, you probably have some Microsoft Excel documents on your Mac or PC that you wouldn’t want other people to find and read. After all, Excel is used by both regular consumers, businesses, government institutions, and millions of other folks all over the world. The best way to keep that information safe is to learn how to password protect an Excel file.

\
Go to File --> Info --> Protect Workbook --> Encrypt with Password

![](/files/-LRaj4pojYAnVDZKwnIT)

**Worksheet Security**

Protecting a worksheet from being modified, or restricting the modifications to certain users.

\
Go to Review --> Protect Sheet

![](/files/-LRaikl1YvwLfSnR7ouX)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://books-gyansetu.gitbook.io/advanced-excel/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
