Ruby on Rails 7.2.1 Module ActionController::HttpAuthentication::Basic actionpack/lib/action_controller/metal/http_authentication.rb HTTP Basic authentication Simple Basic example class PostsController < ApplicationController http_basic_authenticate_with name: "dhh", password: "secret", except: :index def index render plain: "Everyone can see me!" end def edit render plain: "I'm only accessible if