René's URL Explorer Experiment


Title: Add authorization callback for subscription requests · Issue #28 · nodeSolidServer/node-solid-ws · GitHub

Open Graph Title: Add authorization callback for subscription requests · Issue #28 · nodeSolidServer/node-solid-ws

X Title: Add authorization callback for subscription requests · Issue #28 · nodeSolidServer/node-solid-ws

Description: Currently, solid-ws accepts all sub requests without any authorization check. This means anyone can subscribe to notifications for any resource, even private ones they don't have read access to. This can leak information - a subscr...

Open Graph Description: Currently, solid-ws accepts all sub requests without any authorization check. This means anyone can subscribe to notifications for any resource, even private ones they don't have read access ...

X Description: Currently, solid-ws accepts all sub <url> requests without any authorization check. This means anyone can subscribe to notifications for any resource, even private ones they don't have re...

Opengraph URL: https://github.com/nodeSolidServer/node-solid-ws/issues/28

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add authorization callback for subscription requests","articleBody":"Currently, `solid-ws` accepts all `sub \u003curl\u003e` requests without any authorization check. This means anyone can subscribe to notifications for any resource, even private ones they don't have read access to.\n\nThis can leak information - a subscriber learns when a resource changes, even if they can't read it.\n\n### Proposed solution\n\nAdd an optional `authorize` callback that servers can use to check permissions:\n\n```javascript\nconst solidWs = SolidWs(server, app, {\n  authorize: (iri, req, callback) =\u003e {\n    // Check if user has read access to iri\n    // callback(null, true) to allow\n    // callback(null, false) to deny\n  }\n})\n```\n\nIf authorization fails, send `err \u003curl\u003e forbidden` instead of `ack`.\n\nThis keeps solid-ws flexible (default allows all, as today) while letting servers like NSS integrate their ACL checking.\n\nHappy to submit a PR for this if it sounds reasonable!\n\nRelated: nodeSolidServer/node-solid-server#1334","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-07T07:59:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/28/node-solid-ws/issues/28"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a4ead938-6abc-9c01-6701-d044d0737965
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD24:110520:EEA998:14D6540:6971FB62
html-safe-nonce170588a310e43c9168d598211644cd5c0bee04a18e9103e1933fc15b917c9fb7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDI0OjExMDUyMDpFRUE5OTg6MTRENjU0MDo2OTcxRkI2MiIsInZpc2l0b3JfaWQiOiIyMzcxNDA5MDY2ODk1NDczNTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca4f151c3df60d54f3dc14e54721cf227df02f57d88ca1b3c9ce627f02906ebad
hovercard-subject-tagissue:3787742260
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodeSolidServer/node-solid-ws/28/issue_layout
twitter:imagehttps://opengraph.githubassets.com/24df240d838eeabd94eed88c831f3d27544ecdf8164a68d725c98a6cfedca662/nodeSolidServer/node-solid-ws/issues/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/24df240d838eeabd94eed88c831f3d27544ecdf8164a68d725c98a6cfedca662/nodeSolidServer/node-solid-ws/issues/28
og:image:altCurrently, solid-ws accepts all sub requests without any authorization check. This means anyone can subscribe to notifications for any resource, even private ones they don't have read access ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None5d01a3551afdd1a0e12e78acaf3ba43a9a1f7dcb518695d6ed59db76a9290f13
turbo-cache-controlno-preview
go-importgithub.com/nodeSolidServer/node-solid-ws git https://github.com/nodeSolidServer/node-solid-ws.git
octolytics-dimension-user_id104446421
octolytics-dimension-user_loginnodeSolidServer
octolytics-dimension-repository_id43249504
octolytics-dimension-repository_nwonodeSolidServer/node-solid-ws
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id43249504
octolytics-dimension-repository_network_root_nwonodeSolidServer/node-solid-ws
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release062b05dcdf64ee7a3dad7acabb746494ae0982cc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FnodeSolidServer%2Fnode-solid-ws%2Fissues%2F28
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FnodeSolidServer%2Fnode-solid-ws%2Fissues%2F28
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodeSolidServer%2Fnode-solid-ws
Reloadhttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28
Reloadhttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28
Reloadhttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28
nodeSolidServer https://patch-diff.githubusercontent.com/nodeSolidServer
node-solid-wshttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-ws
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-ws
Star 7 https://patch-diff.githubusercontent.com/login?return_to=%2FnodeSolidServer%2Fnode-solid-ws
Code https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws
Issues 11 https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues
Pull requests 6 https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/pulls
Actions https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/actions
Projects 0 https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/projects
Wiki https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/security
Please reload this pagehttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28
Insights https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/pulse
Code https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws
Issues https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues
Pull requests https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/pulls
Actions https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/actions
Projects https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/projects
Wiki https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/wiki
Security https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/security
Insights https://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/nodeSolidServer/node-solid-ws/issues/28
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/nodeSolidServer/node-solid-ws/issues/28
#30https://github.com/nodeSolidServer/node-solid-ws/pull/30
#29https://github.com/nodeSolidServer/node-solid-ws/pull/29
Add authorization callback for subscription requestshttps://patch-diff.githubusercontent.com/nodeSolidServer/node-solid-ws/issues/28#top
#30https://github.com/nodeSolidServer/node-solid-ws/pull/30
#29https://github.com/nodeSolidServer/node-solid-ws/pull/29
https://github.com/melvincarvalho
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jan 7, 2026https://github.com/nodeSolidServer/node-solid-ws/issues/28#issue-3787742260
nodeSolidServer/node-solid-server#1334https://github.com/nodeSolidServer/node-solid-server/issues/1334
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.