MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Add API for disabling file uploads
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I'm developing an application that should show a web browser with very limited interaction possibilities. So far, disabling the context menus, preventing camera/microphone access etc. is possible, but at the moment I cannot prevent file uploads.
Describe the solution you'd like and alternatives you've considered
For me a very simple API, e.g. ICoreWebView2Settings::put_AreFileUploadsEnabled(BOOL ...) would be sufficient. I'm aware that in #1479 a similar request is being made, but maybe this very simple API could make it into the product earlier.
Similarly, being able to disable Drag&Drop like requested in #278 in a very simple manner, e.g. ICoreWebView2Settings::put_IsDragAndDropEnabled(BOOL ...), would be fantastic.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing related requests #1479 and #278, then determine how the proposed settings APIs should control file uploads and drag-and-drop. Done means the product has a decided, documented way to disable the requested interactions through the WebView2 settings API.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100