> For the complete documentation index, see [llms.txt](https://books.spartan-cybersec.com/cpad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://books.spartan-cybersec.com/cpad/vulnerabilidades-y-ataques-en-ad/unconstrained-delegation/trustedtoauthfordelegation-vs-trustedfordelegation.md).

# TrustedToAuthForDelegation vs TrustedForDelegation

Es esencial no confundir estos dos, ya que cada uno implica un nivel diferente de acceso y riesgo. El Unconstrained Delegation otorga capacidades más amplias y, por lo tanto, es potencialmente más peligrosa si se abusa de ella.

* <mark style="color:red;">**TrustedToAuthForDelegation**</mark><mark style="color:red;">:</mark> Este parámetro se utiliza para la delegación restringida (constrained delegation)<mark style="color:red;">.</mark> Cuando está configurado, permite que una cuenta específica (como una cuenta de servicio) delegue credenciales a otros servicios específicos, pero con restricciones claras sobre a qué servicios puede realizar esta delegación.
* <mark style="color:red;">**TrustedForDelegation**</mark>: Este parámetro se aplica a la delegación sin restricciones <mark style="color:red;">(unconstrained delegation)</mark>. Cuando una cuenta tiene este parámetro configurado, puede delegar credenciales a cualquier servicio, lo que representa un mayor riesgo de seguridad.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.spartan-cybersec.com/cpad/vulnerabilidades-y-ataques-en-ad/unconstrained-delegation/trustedtoauthfordelegation-vs-trustedfordelegation.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.
