نحوهی بستن یک بازهی IP در IIS
نویسنده: وحید نصیری
تاریخ: ۱۳۹۲/۰۹/۱۱ ۸:۰
آدرس: www.dntips.ir
| مطالب | ۳۶۹۴ |
| نویسندگان | ۲۷۶ |
| گروههای مطالب | ۱۰۲۴ |
| نقشههای راه | ۱۱۹ |
| دورهها | ۱۴ |
| اشتراکها | ۱۷۹۱۴ |
Administrative Tools -> Server Manager -> expand Roles -> Web Server (IIS) -> Role Services -> Add Role Services -> select IP and Domain Restrictions
<system.webServer>
<security>
<ipSecurity>
<add ipAddress="192.168.100.1" />
<add ipAddress="169.254.0.0" subnetMask="255.255.0.0" />
</ipSecurity>
</security>
</system.webServer> IIS 7 -> root server -> Feature Delegation -> IP and Domain Restrictions -> Change the delegation to Read/Write
PM> Install-Package DNTCommon.Web.Core
public void Configure(IApplicationBuilder app)
{
app.UseAntiDos(); public void ConfigureServices(IServiceCollection services)
{
services.Configure<AntiDosConfig>(options => Configuration.GetSection("AntiDosConfig").Bind(options));