automatic9045 / automatic9045/BveEX

ゾーン識別子を自動で削除するようにしてほしい

Open
#26 5 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
C#
Stars
36
Forks
7
PR merge metrics
No merged PRs in 30d

Description

現状、拡張機能等をインストールする際、ユーザに「ブロックの解除」をお願いするようになってしまっています。
しかし、プラグインが依存するDLLが多ければ多いほど、ユーザの操作が増えてしまいます。

そこで、依存関係の解決時に自動でゾーン識別子を削除するようにすると便利なように思いました。

セキュリティ上あまり好ましくないような気がするものの、そこは「読み込みを求めているDLLと、それと同じ名前を持つフォルダ直下のDLLしか許可しない」ぐらいのルールを作ることで何とかするしかないかと思います。

P/Invokeで直接実装するのも手ですし、netstandard2.0でライブラリが公開されているので、そちらを使うのも手だと思います。
-> https://www.nuget.org/packages/Trinet.Core.IO.Ntfs/

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the dependency-resolution entry point in the C# plugin framework and trace how dependent DLLs are loaded. Compare a P/Invoke implementation with Trinet.Core.IO.Ntfs, then define how the proposed same-name, direct-folder DLL restriction should be enforced. Done means dependencies no longer require manual “Unblock” actions while the stated loading restriction remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.