@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-private-feeds/>
  a sioc:Post ;
  dc:title "Feed URLs and security" ;
  dcterms:identifier 153988 ;
  dc:modified "2026-11-07T02:23:15Z"^^xsd:dateTime ;
  dc:created "2026-11-07T02:23:15Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-private-feeds/feed-urls-and-security/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-private-feeds/\">LH Private Feeds</a></li></ul><h2 class=\"wp-block-heading\">Personal feed URLs</h2><p class=\"wp-block-paragraph\">A personal feed URL is the normal feed URL plus two parameters: <code>lh_private_feeds-user_id</code>, the member&#8217;s user ID, and <code>lh_private_feeds-key</code>, an HMAC-SHA256 signature of the user ID and the member&#8217;s private feed key (user meta <code>_lh_private_feeds-key</code>). The signing secret is derived from the site&#8217;s <code>AUTH_KEY</code>/<code>AUTH_SALT</code>, so it is unique to the install and not in the source.</p><ul class=\"wp-block-list\"><li>A logged-in member who opens any feed is redirected to their own signed URL, ready to copy into a feed reader.</li><li>A logged-out request with a valid signature is served as that member, with no-cache headers. A missing, wrong or tampered signature gets the public feed.</li><li>To revoke a member&#8217;s feed URLs, delete their <code>_lh_private_feeds-key</code> user meta; a new key is made the next time they open a feed. Changing the site&#8217;s salts revokes everyone&#8217;s.</li></ul><p class=\"wp-block-paragraph\">Before 1.2.0 the parameters were encrypted with a key that was fixed in the source; those URLs no longer work, and members need to copy their feed link again.</p><h2 class=\"wp-block-heading\">Hooks</h2><ul class=\"wp-block-list\"><li><code>lh_private_feeds_signing_secret</code>: the secret signatures are made with.</li><li><code>lh_private_feeds_is_the_url_a_feed</code>: whether the current request is a feed.</li><li><code>lh_private_feeds_is_local_feed_url</code>: whether a navigation link points at one of the site&#8217;s feeds.</li></ul>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Private FeedsPersonal feed URLsA personal feed URL is the normal feed URL plus two parameters: lh_private_feeds-user_id, the member&#8217;s user ID, and lh_private_feeds-key, an HMAC-SHA256 signature of the user ID and the member&#8217;s private feed key (user meta _lh_private_feeds-key). The signing secret is derived from the site&#8217;s AUTH_KEY/AUTH_SALT, so it is unique to the install and not in the source.A logged-in member who opens any feed is redirected to their own signed URL, ready to copy into a feed reader.A logged-out request with a valid signature is served as that member, with no-cache headers. A missing, wrong or tampered signature gets the public feed.To revoke a member&#8217;s feed URLs, delete their _lh_private_feeds-key user meta; a new key is made the next time they open a feed. Changing the site&#8217;s salts revokes everyone&#8217;s.Before 1.2.0 the parameters were encrypted with a key that was fixed in the source; those URLs no longer work, and members need to copy their feed link again.Hookslh_private_feeds_signing_secret: the secret signatures are made with.lh_private_feeds_is_the_url_a_feed: whether the current request is a feed.lh_private_feeds_is_local_feed_url: whether a navigation link points at one of the site&#8217;s feeds." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1>, <https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261107t022500-lh-private-feeds-feed-urls> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261107t022500-lh-private-feeds-feed-urls> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_object_key&term=lh-portfolio_doc_20261107t022500-lh-private-feeds-feed-urls&feed=lhrdf&format=turtle> .
