Search Results for security

About

...virtualization, optimization and security. For the most part, I write as it comes; posts may seem incoherently written sometimes (my apologies šŸ™‚ ). Drop me a comment somewhere to say...

“The length of the URL for this request exceeds the configured maxUrlLength value”

[HttpException (0x80004005): The length of the URL for this request exceeds the configured maxUrlLength value.]

...</requestLimits> </requestFiltering> </security> </system.webServer> </configuration> AppCmd headerLimits Configure IIS headerLimits using appcmd.exe (place in one line): appcmd.exe set config "Default Web Site" ^ -section:system.webServer/security/requestFiltering ^ /+"requestLimits.headerLimits.[header='Content-type',sizeLimit='100']" PowerShell headerLimits Configure IIS...

Use OpenSSL for basic SSL/TLS tasks

...O=Let's Encrypt, CN=R11 i:C=US, O=Internet Security Research Group, CN=ISRG Root X1 a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256 v:NotBefore: Mar 13 00:00:00 2024 GMT; NotAfter: Mar 12 23:59:59 2027 GMT ---...

Check WordPress Core files integrity

"I trust you"

...means everything is OK. Also read: Disallow direct access to PHP files in wp-content/uploads/ How to: Determine installed .NET Framework versions WordPress .htaccess security best practices in Apache 2.4.6+ Send...

Install SQL Server cumulative updates silently

Microsoft SQL Server logo

..."KB5059390" [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $ProgressPreference = 'SilentlyContinue' $url = "https://download.microsoft.com/download/a89001cb-9c99-48d3-9f14-ded054b35fe4/SQLServer2022-${kb}-x64.exe" $result = Invoke-WebRequest -Method GET -Uri $url -Headers $headers -UseBasicParsing $tempFolder = $env:temp # get filename by Content-Disposition header $contentDisposition...

Convert .htaccess to web.config

Microsoft Internet Information Services (IIS) logo

...value --> <add name="Cache-Control" value="max-age=691200" /> </customHeaders> </httpProtocol> </system.webServer> </configuration> Also read: Learn how to set an HSTS HTTP Strict-Transport-Security header Remove Server response header in IIS One-time donation Your...

MySQL Connector/NET and Entity Framework

Microsoft Internet Information Services (IIS) logo

...generated connection string <add name="modelEntities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl; provider=MySql.Data.MySqlClient; provider connection string="server=mysql.server.ext; User Id=mysqluser; Persist Security Info=True; database=mysqldb; password=mysqlpwd"" providerName="System.Data.EntityClient" /> Correct connection string <add name="modelEntities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl; provider=MySql.Data.MySqlClient; provider connection string='server=mysql.server.ext; User...