Samedi 05 Décembre 2026 15:30:49 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

machineKey

An ASP.NET secret used to protect data such as ViewState and prevent tampering.

The machineKey is an ASP.NET secret that signs and encrypts application data, most notably ViewState, so the server can detect tampering. It helps prove that a page state blob really came from the application and was not modified in transit or forged by an attacker.

Security depends on this key being unique, private, and strong. If the same machineKey is reused across servers, hard-coded in source, or exposed in backups or templates, an attacker may be able to craft data that the server accepts as valid. In real attacks, that can turn a web feature into a code execution path or a way to bypass application trust checks. Defenders should rotate compromised keys, avoid shared defaults, keep keys out of code repositories, and monitor for unusual ViewState validation errors or web-shell behavior after a suspected exposure.

← index WIKICROOK