Last post Oct 21, 2015 12:03 AM by Rovastar
Oct 14, 2015 01:56 PM|mwise11|LINK
I have a webfarm where the configuration is shared (not replicated). Everything I am reading says machine keys need to be the same for websites/applications on different servers in a webfarm. What are the ramifications if the machine keys are set to be
the same on each web server at the IIS level instead of having different machine keys for each website/application? Is this a security risk? I would just like to set the machine key once per server and not every time a new website is created.
Oct 15, 2015 02:50 AM|Weibo Zhang|LINK
According this article, you could know that the machine key Configurable locations and the “Machine.config file” could also set it.
This article shows the difference between the Machine.config and web.config. The
machine.config file is the master configuration file on your system with a lot of default settings. The settings of Machine.config file are applied to the whole asp.net applications
on your server whereas the settings made in the Web.config file are applied to that particular web application only.
So, you could just set the machine key in the machine.config to achieve your need. Besides, if you have any issues that are the same with this issue, you’d better post them
here to get more professional suggestions.
I hope it’s useful to you.
Oct 21, 2015 12:03 AM|Rovastar|LINK