اشتراک‌ها
بهبودهای HttpClient در NET 5.

With .NET 5 released in November, it’s a good time to talk about some of the many improvements in the networking stack. This includes improvements around HTTP, Sockets, networking-related security, and other networking primitives. In this post, I will highlight some of the more impactful and interesting changes in the release. 

بهبودهای HttpClient در NET 5.
اشتراک‌ها
پیاده سازی یک تراکنش ساده بر مبنای بلاکچین با استفاده از .Net Core

The most popular Blockchain network at this moment is Bitcoin. It is a digital currency that has no central authority. Proof of Work allows Bitcoin to maintain security and validity without a middleman, bank. However, the price is a lot of computing time, therefore a lot of electricity. 

پیاده سازی یک تراکنش ساده بر مبنای بلاکچین با استفاده از .Net Core
اشتراک‌ها
بررسی اعتبارسنجی بدون پسورد استاندارد WebAuthn

Phishing can happen to anyone, and hackers know that. What could happen if someone compromised your git repo? How about your email? FIDO security keys are awesome at preventing phishing. This talk explains how they work, how they can protect you, and what you can implement to protect your users. 

بررسی اعتبارسنجی بدون پسورد استاندارد WebAuthn
اشتراک‌ها
در یک code review باید به چه مواردی دقت داشت؟
  • Functional Defects
  • Problems with the logic
  • Missing Validation (e.g., edge cases)
  • Usage of API
  • Design Patterns
  • Architectural Issues
  • Testability
  • Readability
  • Security
  • Naming conventions
  • Team Coding Style
  • Documentation
  • Use of best practices
  • Language-specific issues
  • Use of deprecated methods
  • Performance (e.g., complexity of the solution)
  • Alternative solutions… 
در یک code review باید به چه مواردی دقت داشت؟
اشتراک‌ها
افزودن هدر های امنیتی در ASP.NET Core

NetEscapades.AspNetCore.SecurityHeaders 

A small package to allow adding security headers to ASP.NET Core websites. example :   

public void Configure(IApplicationBuilder app)
{
    var policyCollection = new HeaderPolicyCollection()
        .AddFrameOptionsDeny()
        .AddXssProtectionBlock()
        .AddContentTypeOptionsNoSniff()
        .AddStrictTransportSecurityMaxAgeIncludeSubDomains(maxAgeInSeconds: 60 * 60 * 24 * 365) // maxage = one year in seconds
        .AddReferrerPolicyStrictOriginWhenCrossOrigin()
        .RemoveServerHeader()
        .AddContentSecurityPolicy(builder =>
        {
            builder.AddObjectSrc().None();
            builder.AddFormAction().Self();
            builder.AddFrameAncestors().None();
        })
        .AddCustomHeader("X-My-Test-Header", "Header value");
    
    app.UseSecurityHeaders(policyCollection);
    
    // other middleware e.g. static files, MVC etc  
}
افزودن هدر های امنیتی در ASP.NET Core
اشتراک‌ها
10 نکته در مورد امن سازی برنامه های asp.net core

10 Points to Secure Your ASP.NET Core MVC Applications 

Broken authentication and session management

Sensitive Data Exposure & Audit trail

Cross-Site Scripting (XSS) attacks

Malicious File Upload

Security Misconfiguration (Error Handling Must Setup Custom Error Page)

Version Discloser

Cross-Site Request Forgery (CSRF)

XML External Entities (XXE)

Insecure Deserialization

SQL Injection Attack 

10 نکته در مورد امن سازی برنامه های asp.net core
اشتراک‌ها
بیلد جدید ویندوز 10 با شماره 17134.590 منتشر شد + فهرست تغییرات + لینک دانلود

برخی از تغییرات:

  • رفع نواقص و مشکلات مرتبط با نرم‌افزار مرورگر مایکروسافت اج
  • رفع مشکل اجرای اپلیکیشن‌های دارای سطح دسترسی به پایگاه داده Microsoft Jet از طریق قالب فرمتی Access 97
  • رفع مشکل عدم تنظیم صحیح مقادیر LmCompatibilityLevel بر روی برخی از رایانه‌های شخصی مختلف
  • افزودن قابلیت پیش پشتیبانی از بستر (HTTP Strict Transport Security (HSTS در نرم‌افزارهای مرورگر مایکروسافت اج و نسخه یازدهم اینترنت اکسپلورر
بسته تجمعی همین بیلد با شماره دیگر اینجا...

بیلد جدید ویندوز 10 با شماره 17134.590 منتشر شد + فهرست تغییرات + لینک دانلود