|
1 | 1 | --- |
2 | 2 | title: What Is Protected Data? |
3 | | -description: Understanding iExec's data protection mechanisms |
| 3 | +description: Data ownership meets privacy - understand how iExec gives you control |
4 | 4 | --- |
5 | 5 |
|
6 | | -# ❓ What Is Protected Data? |
| 6 | +# 🛡️ What Is Protected Data? |
7 | 7 |
|
8 | | -Protected Data is iExec's revolutionary approach to data privacy and ownership. |
9 | | -It allows you to maintain control over your data while enabling computation on |
10 | | -it without exposing the raw information. |
| 8 | +**Your data, but with superpowers.** Protected Data is how iExec gives you blockchain-verified ownership over your information. You control who uses it, for what purpose, and you can get paid when it creates value. |
11 | 9 |
|
12 | | -## Key Concepts |
| 10 | +## The Problem |
13 | 11 |
|
14 | | -### Data Ownership |
| 12 | +Traditional apps treat your data like their property. You upload it, they own it. You lose control, they make money from it. |
15 | 13 |
|
16 | | -- **You own your data**: The original data never leaves your control |
17 | | -- **Granular permissions**: Decide who can access and use your data |
18 | | -- **Revocable access**: Grant and revoke permissions at any time |
| 14 | +## The Solution: Blockchain-Verified Ownership |
19 | 15 |
|
20 | | -### Privacy-Preserving Computation |
| 16 | +Protected Data flips this model. Here's how you protect data: |
21 | 17 |
|
22 | | -- **Encrypted processing**: Data is encrypted during computation |
23 | | -- **TEE (Trusted Execution Environment)**: Secure enclaves protect data during |
24 | | - processing |
25 | | -- **Zero-knowledge**: Compute on data without revealing it |
| 18 | +```javascript |
| 19 | +const protectedData = await dataprotector.protectData({ |
| 20 | + name: 'my-contacts.json', |
| 21 | + data : { emails : [ '[email protected]', ...] } |
| 22 | +}); |
| 23 | +``` |
26 | 24 |
|
27 | | -### Monetization |
| 25 | +Now you have **blockchain-verified ownership** of this data. No one can access it without your explicit permission. |
28 | 26 |
|
29 | | -- **Data marketplaces**: Sell access to your protected data |
30 | | -- **Usage tracking**: Monitor how your data is being used |
31 | | -- **Fair compensation**: Get paid for data usage |
| 27 | +## Access Control That Actually Works |
32 | 28 |
|
33 | | -## How It Works |
| 29 | +Traditional permissions: "This app can access your contacts" *(forever, for anything)* |
34 | 30 |
|
35 | | -1. **Protect**: Encrypt and register your data on the iExec network |
36 | | -2. **Share**: Grant access permissions to specific users or applications |
37 | | -3. **Monitor**: Track usage and maintain control |
38 | | -4. **Monetize**: Earn from your data while keeping it private |
| 31 | +Protected Data permissions: "This newsletter app can use my contacts to send marketing emails, but only during weekdays, and I get 2€ per campaign." |
39 | 32 |
|
40 | | -## Use Cases |
| 33 | +```javascript |
| 34 | +await dataprotector.grantAccess({ |
| 35 | + protectedData: protectedData.address, |
| 36 | + authorizedApp: '0x123...', // Specific app |
| 37 | + authorizedUser: '0xabc...', // Specific user |
| 38 | + // Plus pricing, time limits, usage rules... |
| 39 | +}); |
| 40 | +``` |
41 | 41 |
|
42 | | -- **Personal Data**: Health records, financial data, personal preferences |
43 | | -- **Business Intelligence**: Market research, customer analytics, proprietary |
44 | | - datasets |
45 | | -- **AI Training**: Training models without exposing sensitive data |
46 | | -- **Research**: Collaborative research with privacy guarantees |
| 42 | +## Privacy-Safe Processing |
47 | 43 |
|
48 | | -## Next Steps |
| 44 | +When apps use your Protected Data, they process it inside **secure enclaves** (TEEs). They get the results they need, but your raw data never leaves the privacy bubble. |
49 | 45 |
|
50 | | -Ready to protect your data? Check out: |
| 46 | +### How the Technical Magic Works |
51 | 47 |
|
52 | | -- [Getting Started with DataProtector](/manage_data/dataProtector/getting-started) |
53 | | -- [DataProtector Guides](/manage_data/guides) |
| 48 | +Here's what actually happens under the hood: |
| 49 | + |
| 50 | +1. **Your data gets encrypted** and stored online (IPFS,Arweave..) |
| 51 | +2. **The decryption key** is stored in a secure TEE database |
| 52 | +3. **Only authorized TEE workers** can retrieve this key to process your data |
| 53 | +4. **Apps run inside these TEE workers** - they can decrypt and use your data, but only within the secure enclave |
| 54 | +5. **Results come back encrypted** to you - the raw data never leaves the TEE environment |
| 55 | + |
| 56 | +``` |
| 57 | +Your Data (encrypted, online) + Decryption Key (in TEE database) = Processing (only in authorized TEEs) |
| 58 | +``` |
| 59 | + |
| 60 | +This architecture ensures that even iExec workers can't access your raw data - only the TEE environment can decrypt it for processing, and only when you've authorized it. |
| 61 | + |
| 62 | +## What This Enables |
| 63 | + |
| 64 | +### 📧 **Privacy-First Email Marketing** |
| 65 | +Your users upload their contact lists as Protected Data. Your newsletter app can send personalized emails without ever seeing the actual email addresses. Users stay private, you get engagement. |
| 66 | + |
| 67 | +### 🤖 **Ethical AI Training** |
| 68 | +People contribute personal data (health records, preferences) as Protected Data. AI models can learn from this data without seeing individual information. Better AI, fair compensation, zero privacy trade-offs. |
| 69 | + |
| 70 | +### 🏢 **Confidential Business Intelligence** |
| 71 | +Companies protect their datasets but still collaborate on insights. Research partners get aggregate results without accessing raw competitive data. Innovation without information leaks. |
| 72 | + |
| 73 | +### 💰 **Data Monetization** |
| 74 | +Create marketplaces where data owners set their own terms. "Use my fitness data for $5/month, health insights only, no advertising." Automatic payments, programmable rules. |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +## ❓ Frequently Asked Questions |
| 79 | + |
| 80 | +::: details 💰 How much does it cost? |
| 81 | +It's **free**! No gas fees on iExec's Bellecour network. You just need a Web3 wallet to sign transactions. |
| 82 | +::: |
| 83 | + |
| 84 | +::: details 📏 What's the maximum dataset size? |
| 85 | +It depends on your use case context. For standard cases (contacts, small datasets), no problem. For large volumes, [contact us](https://iex.ec/contact/) so we can assess if it fits your needs. |
| 86 | +::: |
| 87 | + |
| 88 | +::: details 💸 Can I monetize my data? |
| 89 | +Yes! You can sell access to your Protected Data with flexible pricing, subscriptions, etc. See the [Manage Data Monetization](/manage_data/guides/manage-data-monetization) guide for all details. |
| 90 | +::: |
| 91 | + |
| 92 | +::: details 🚀 How do I get started? |
| 93 | +You need a Web3 wallet (MetaMask, WalletConnect) and Node.js 16+. Follow [DataProtector Core](/manage_data/dataProtector/dataProtectorCore) for installation and first examples. |
| 94 | +::: |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | +::: details 🔒 Is my data really secure? |
| 99 | +Yes! Your data is encrypted and keys are stored in secure TEE environments. Even iExec workers can't see your raw data - only the authorized TEE environment can decrypt it for processing. |
| 100 | +::: |
| 101 | + |
| 102 | +## Why This Changes Everything |
| 103 | + |
| 104 | +### ✅ **True Ownership** |
| 105 | +Your data is blockchain-verified yours. Not "terms & conditions" yours, actually yours. |
| 106 | + |
| 107 | +### ✅ **Privacy by Design** |
| 108 | +Apps get utility without compromising privacy. No more "privacy vs functionality" trade-offs. |
| 109 | + |
| 110 | +### ✅ **Programmable Control** |
| 111 | +Set complex rules: "Use my data only for health insights, only on weekdays, only if I get paid 5€." |
| 112 | + |
| 113 | +### ✅ **Composable Privacy** |
| 114 | +Any iApp can use your Protected Data (if authorized). Build privacy-first ecosystems. |
| 115 | + |
| 116 | +## Start Building |
| 117 | + |
| 118 | +Ready to give your users data ownership? |
| 119 | + |
| 120 | +### 🚀 **Try DataProtector** |
| 121 | +- [Getting Started](/manage_data/dataProtector/getting-started) - Protect your first dataset |
| 122 | +- [DataProtector Core](/manage_data/dataProtector/dataProtectorCore) - Full SDK reference |
| 123 | +- [DataProtector Sharing](/manage_data/dataProtector/dataProtectorSharing) - Monetization features |
| 124 | + |
| 125 | +### 📖 **Learn with Guides** |
| 126 | +- [Create and Share Access](/manage_data/guides/create-and-share-access) - Basic workflow |
| 127 | +- [Handle Schemas & Dataset Types](/manage_data/guides/handle-schemas-dataset-types) - Advanced data types |
| 128 | +- [Manage Data Monetization](/manage_data/guides/manage-data-monetization) - Get paid for your data |
| 129 | + |
| 130 | +### 🎯 **Use in iApps** |
| 131 | +Protected Data works with any iApp: |
| 132 | +- [Web3Mail](/use_iapp/web3mail) - Private email with contact protection |
| 133 | +- [Build your own iApp](/build_iapp/iapp-generator) - Custom privacy-first apps |
54 | 134 |
|
55 | 135 | --- |
56 | 136 |
|
57 | | -_Protect your data, maintain control, and unlock its value with iExec's |
58 | | -DataProtector._ |
| 137 | +**TL;DR**: Protected Data = Your data + Your rules + Privacy guarantees. Finally, data ownership that actually works. 🔒 |
0 commit comments