Archives de Tag: MachineKey

ASP.NET machineKey Generator – CodeProject

Whenever you make use of ViewState, Session, Forms authentication, or other encrypted and/or secured values, ASP.NET uses a set of keys to do the encryption and decryption. Normally, these keys are hidden and automatically generated by ASP.NET every time your application recycles, but there are times when you want to specify a particular, persistent key. This article will explain why hard-coded machineKeys are good, and how to generate random ones for ASP.NET 1.1 or 2.0.

via: ASP.NET machineKey Generator – CodeProject.

Poster un commentaire

Publié par le 6 juin 2011 dans Développement


Étiquettes : , ,

%d blogueurs aiment cette page :