Depending on your OS it should prevent screen recording. Maybe screen recording works depending on the DRM level.
The DRM prevents you from directly downloading the files. Similarly Spotify requires DRM so it's impossible to download songs.
Obviously if it's on your device there're ways to circumvent DRM, either by recording or having the right keys.
Most of the time it's the rightholders who demand copy prevention, even if it doesn't prevent copies but annoys customers if it fails.
Nothing wrong with asking LLM's about topics, I'd even say it's a good idea instead of directly asking on a forum. Just like searching before asking, asking an LLM before asking humans is good.
And mentioning where you got the recommendation for k8s is also helpful. I'm not knowledgeable about k8s, but I guess the "wtf" was about the overkill of recommending k8s when simpler solutions exist.
Unix sockets have permissions like any file, so it's simple to restrict access to a user/group and thus process running as the user. If it's unencrypted http on a server other processes could listen on localhost, but I'm unsure about that part.