René's URL Explorer Experiment


Title: Apply file transfer restrictions to the integrated browser · Issue #7884 · coder/code-server · GitHub

Open Graph Title: Apply file transfer restrictions to the integrated browser · Issue #7884 · coder/code-server

X Title: Apply file transfer restrictions to the integrated browser · Issue #7884 · coder/code-server

Description: What is your suggestion? I would like code-server to apply the same file transfer restrictions to the integrated browser available directly inside the VS Code/code-server interface. Today, code-server can restrict actions such as drag-an...

Open Graph Description: What is your suggestion? I would like code-server to apply the same file transfer restrictions to the integrated browser available directly inside the VS Code/code-server interface. Today, code-ser...

X Description: What is your suggestion? I would like code-server to apply the same file transfer restrictions to the integrated browser available directly inside the VS Code/code-server interface. Today, code-ser...

Opengraph URL: https://github.com/coder/code-server/issues/7884

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Apply file transfer restrictions to the integrated browser","articleBody":"## What is your suggestion?\n\nI would like code-server to apply the same file transfer restrictions to the integrated browser available directly inside the VS Code/code-server interface.\n\nToday, code-server can restrict actions such as drag-and-drop, file download, and file upload between the user's local machine and the remote code-server environment. However, the integrated browser inside the interface should also respect these restrictions.\n\nIf file transfer is disabled, the integrated browser should not allow users to bypass the restriction by downloading files to their local machine or uploading files from their local machine.\n\nHowever, the browser should still be allowed to download or upload files only within the remote server environment. For example:\n\n- downloading a file from a website should be allowed only if the destination is a folder on the remote server;\n- uploading a file should be allowed only if the file comes from the remote server filesystem;\n- uploading or downloading directly between the integrated browser and the local client machine should remain blocked when file transfer restrictions are enabled.\n\nIn short, the restriction should prevent transfers outside of the server, but should still allow file operations that stay entirely inside the server environment.\n\n## Why do you want this feature?\n\nThis would improve security and make file transfer restrictions consistent across the whole code-server interface.\n\nIn managed or restricted environments, administrators may disable drag-and-drop, file downloads, and file uploads to prevent data from being moved between the remote server and the local user device.\n\nIf the integrated browser can still upload files from the local machine or download files to the local machine, users may be able to bypass these restrictions. This weakens the security model and makes the existing restrictions less effective.\n\nThe expected behavior would be:\n\n- local machine to server transfer: blocked when upload is disabled;\n- server to local machine transfer: blocked when download is disabled;\n- server-only file operations through the integrated browser: allowed.\n\nThis would be useful for enterprise, education, sandbox, and controlled development environments where administrators need strong control over data movement.\n\n## Are there any workarounds to get this functionality today?\n\nThere does not seem to be a clean native workaround today.\n\nPossible workarounds may include disabling the integrated browser entirely, using proxy or network-level restrictions, or maintaining custom patches, but these approaches are not ideal. They can be difficult to maintain, may break legitimate workflows, and do not provide a clear policy-based way to enforce the same restrictions everywhere in code-server.\n\nA native option would be much better because it would make the behavior predictable and consistent with the existing file transfer restrictions.\n\n## Are you interested in submitting a PR for this?\n\nNot at the moment, but I would be happy to provide more details, test the behavior, or validate a proposed implementation in a restricted code-server environment.","author":{"url":"https://github.com/gogo25171","@type":"Person","name":"gogo25171"},"datePublished":"2026-07-03T13:53:03Z","url":"https://github.com/coder/code-server/issues/7884"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:36be4f68-3a9e-9193-3006-9556b42869c3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA2E:1FCE:132329:1AC342:6B042F09
html-safe-nonce32a8b679026f118b7045f1d78799c693b10a0ce7d2e57ed12740851e6666f7b5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTJFOjFGQ0U6MTMyMzI5OjFBQzM0Mjo2QjA0MkYwOSIsInZpc2l0b3JfaWQiOiIxNTM5Mjk3Mzc0MjM1Nzk5MzA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac755c7721c971cc7db544b292f12b6cc35211bab9e7f361286fc57484b12e6751
hovercard-subject-tagissue:4804012318
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/coder/code-server/7884/issue_layout
twitter:imagehttps://opengraph.githubassets.com/632b806617be8b3e589a0ea57b2bd86cb471a3e14b3b32493cf7a41fa5433626/coder/code-server/issues/7884
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/632b806617be8b3e589a0ea57b2bd86cb471a3e14b3b32493cf7a41fa5433626/coder/code-server/issues/7884
og:image:altWhat is your suggestion? I would like code-server to apply the same file transfer restrictions to the integrated browser available directly inside the VS Code/code-server interface. Today, code-ser...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegogo25171
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/7884#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F7884
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F7884
Sign uphttps://github.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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/7884
Reloadhttps://github.com/coder/code-server/issues/7884
Reloadhttps://github.com/coder/code-server/issues/7884
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests15 (15)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7884
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7884
Apply file transfer restrictions to the integrated browserhttps://github.com/coder/code-server/issues/7884#top
Improvementhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22Improvement%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
https://github.com/gogo25171
gogo25171https://github.com/gogo25171
on Jul 3, 2026https://github.com/coder/code-server/issues/7884#issue-4804012318
gogo25171https://github.com/gogo25171
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Jul 3, 2026https://github.com/coder/code-server/issues/7884#event-27531864009
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Jul 3, 2026https://github.com/coder/code-server/issues/7884#issuecomment-4876986165
Linear Codehttps://linear.app
DEVEX-581https://linear.app/codercom/issue/DEVEX-581
zenithwolf1000https://github.com/zenithwolf1000
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
Improvementhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22Improvement%22
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Jul 9, 2026https://github.com/coder/code-server/issues/7884#event-27741798755
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/7884
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/7884
Improvementhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22Improvement%22
code-serverhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22code-server%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.