Ana içeriğe geç

How do Snap permissions work?

Does this article need to be translated?

MetaMask Snaps opens up a world of possibilities, and with great power comes the need for user consent. Upon installation, Snaps can request specific permissions to access various functionalities surrounding your MetaMask wallet; compare it to installing an application on your mobile phone.

This article explores how Snap permissions work, the various permissions a Snap might request upon installation, and how you can view the permissions used by a Snap that is already installed.

Access and control

When installing a Snap, you'll encounter requests for specific permissions. Currently, a Snap might request any of the following permissions. In the future, additional permissions might be added.

  • Diğer Snap'lerin bu Snap ile doğrudan iletişim kurmasına izin ver
    Bu Snap'in diğer Snap'lerle iletişim kurmasına izin verin. This can be used to transfer data and enhance the functionality of other Snaps.
  • Dapp'lerin bu Snap ile doğrudan iletişim kurmasına izin ver
    Bu Snap'in dapp'lerle iletişim kurmasına izin verin. This can be used to share data and enhance the functionality of dapps.
  • Özel iletişim kutularını göster
    Bu Snap'in özel iletişim kutularını MetaMask'te göstermesine izin verin. These can be used for alerts, confirmations, and input prompts.
  • Bildirimleri göster
    Bu Snap'in MetaMask'te bildirimleri göstermesine izin verin.
  • Bu Snap'e özgü rastgele anahtarlar türet
    Bu Snap'in rastgele anahtarlar oluşturmasına izin verin. These keys are unique to this Snap and aren't related to your MetaMask accounts. The keys can be used to authenticate with dapps and cloud-based services.
  • (Protokol) için genel anahtarınızı görüntüleyin
    Bu Snap'in belirli bir protokol için genel anahtarlarınızı ve adreslerinizi görmesine izin verin. The Snap won't be able to control your accounts or assets.
  • Verileri cihazınızda saklayın ve yönetin
    Bu Snap'in şifreleme kullanarak verileri saklamasına, güncellemesine ve geri almasına izin verin. This data is stored securely on your device.
  • Ethereum sağlayıcısına erişim sağla
    Bu Snap'in, blokzinciri verilerini görebilmesi ve işlem önerebilmesi için MetaMask ile iletişim kurmasına izin verin.
  • İnternete erişim sağla
    Bu Snap'in üçüncü taraf sunucularıyla iletişim kurabilmesi için internete erişim sağlamasına izin verin. This can be used for both sending and receiving data.
  • İşlem içgörülerini göster
    Bu Snap'in işlemleri çözümlemesine ve MetaMask'te içgörüleri göstermesine izin verin. This can be used for anti-phishing and security.
  • İşlem öneren web sitelerinin kaynağına bakın
    Bu Snap'in işlem öneren web sitelerinin kaynağını görmesine izin verin. This can be used for anti-phishing and security.
  • Periyodik eylemleri planlayın ve çalıştırın
    Bu Snap'in tekrarlayan görev veya bildirimleri planlanmasına ve çalıştırmasına izin verin.

Find a full list of permissions a Snap could request on the MetaMask Snaps development docs.

Viewing permissions used by installed Snaps

You can easily view the permissions you've granted to a Snap by going to the configuration page of the Snap within MetaMask.

  1. Look for the three vertical dots in the upper-right corner of your MetaMask window. Click on these dots to reveal a drop-down menu.

  2. From the drop-down menu, click on 'Snaps' to access a list of all Snaps currently installed in your MetaMask instance.

MetaMask Snap

  1. Scroll through the list of installed Snaps to find the specific one you wish to find more info about.

Yüklü MetaMask Snap listesi

  1. Dişli simgesine tıklayarak belirli bir Snap'in ayarlarını açın.

MetaMask Snap izin listesi

Ta-da! 🙌 you'll now be able to view the permissions that have already been granted to the Snap.