# 1.7 Web Security

Spring Security项目提供了保护Web应用程序免受恶意利用的支持。 请参阅Spring Security参考文档，包括：

* Spring MVC安全性
* Spring MVC测试支持
* CSRF保护
* 安全响应标题

HDIV是另一个与Spring MVC集成的Web安全框架。


---

# 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://docs.flydean.com/spring-framework-documentation5/webservlet/1.spring-web-mvc/1.7webservlet.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.
