Is it possible to add security section in web.config to external file

后端 未结 2 1471
無奈伤痛
無奈伤痛 2021-01-06 14:56

I need block a huge IP list via config file


      
                  
        

        
2条回答
  •  爱一瞬间的悲伤
    2021-01-06 15:37

    There are multiple ways you could achieve this, but for a start I would look at the ConfigurationManager's ConfigurationManager.OpenMappedExeConfiguration method for mapping a secondary config file

提交回复
热议问题