Urgent.News

What's breaking now, across thousands of outlets.

AI

A quick site hardening pass: email DNS, AI-crawler rules and security headers

Three things go quietly wrong on a lot of small sites: mail that fails authentication, a robots.txt that says something different from what you meant, and missing security headers. None of them break the site, so nobody notices. Here's a short pass you can run on your own domain with curl (and jq for the DNS part). No sign-ups, no installs beyond those two. 1. Email DNS: SPF, DKIM, DMARC (and MX)…

Three key areas of website security often get overlooked: email DNS settings, AI crawler rules in the robots.txt file, and security headers in HTTP responses. Each of these can be addressed with relatively simple steps that are easy to implement and maintain.

Firstly, email DNS should include SPF, DKIM, DMARC, and MX records. A shell function can be used to query Cloudflare's DNS-over-HTTPS resolver to retrieve these records. Once retrieved, ensure that the MX record points to a fully secured domain and that the SPF and DMARC records are properly configured with tight restrictions. The robots.txt file should also be reviewed for any rules related to AI crawlers such as OpenAI's GPTBot and Anthropic's ClaudeBot.

These rules should be clear and specific, with shared disallow rules included in named groups to avoid confusion. Lastly, HTTP security headers such as Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy, and X-Frame-Options should be present and set to recommended values. These headers help to secure the site by enforcing HTTPS, preventing content type sniffing, controlling referrer information, and mitigating clickjacking attacks. Regularly checking and updating these settings can help maintain a secure website environment.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Four big local LLMs on one RTX 5090 and 128 GB of RAM, benchmarked side by side

One RTX 5090, 128 GB of RAM, and four open models from 125B to 748B parameters. Over the past weeks I got each of them running on the same workstation, on three different runtimes.

  • All four models are mixture-of-experts, allowing them to run on a single GPU with limited VRAM.
  • Performance measured by decoding speed, time to first token, prefill speed, and drafting quality.

4 Accessibility Mistakes AI Coding Assistants Make, and How to Catch Them

AI coding assistants are good at producing working components quickly. They learned from a huge amount of public code, and public code is full of accessibility mistakes — so the same mistakes come…

  • Clickable divs lacking keyboard support
  • Inaccurate aria-labels replacing visible text
  • Placeholders as input field labels

More from Wednesday 21 October →