Setting up persistent forms authentication on multiple servers and subdomains

前端 未结 2 1189
北荒
北荒 2021-02-04 20:09

I\'m trying to set up forms authentication across multiple servers and subdomains. I have static machine keys set up for each application like so:



        
2条回答
  •  不要未来只要你来
    2021-02-04 20:30

    So, after a long slog I discovered MS security bulletin MS11-100, which patches an elevation of privilege vulnerability in forms authentication. Unfortunately, the patch is not backwards compatible. It was applied to our load balanced servers, but not to the server hosting the application that created the initial log-in, which meant that the balanced servers couldn't deserialize the authentication ticket written by the app server.

    Per the MS deployment guidance article, if you find yourself in this situation, you can add

    
    

    to the appSettings section in the web.config for applications on the machines with the patch installed (or to the machine-level config). Or, better yet, make sure you're hosting management company applies the patch to all of your servers at the same time...

提交回复
热议问题