Skip to content

Commit b795fdf

Browse files
committed
refactor: clarify data protection and schema documentation for improved understanding and usability
1 parent 8edf3be commit b795fdf

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/manage-data/guides/create-and-share-access.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Here's how DataProtector works: first you encrypt your data, then manage your
1313
orders to control exactly who can access it, how many times, and at what price.
1414

1515
Once data is protected, it's only accessible inside secure enclaves (TEEs) by
16-
the specific people and iApps you authorize through the orders you create. No
17-
exceptions.
16+
the specific users and iApps (iExec application running in TEE) you authorize
17+
through the orders you create. No exceptions.
1818

1919
## Installation
2020

@@ -65,12 +65,12 @@ console.log('Protected data address:', protectedData.address);
6565

6666
### What You Can Protect
6767

68-
**Data**: Any JSON object with custom keys. Think user profiles, API
69-
credentials, datasets, model parameters - anything you want to keep private but
70-
still use in computations.
68+
**Data**: Any kind of data you want to keep private and make available for
69+
computations by authorized users and iApps.
7170

7271
**Supported types**: Strings, numbers, booleans, nested objects, files (convert
73-
to ArrayBuffer first), and arrays (convert to Record format).
72+
to ArrayBuffer first), and arrays (convert to Record format), you can find the
73+
full list [here](/manage-data/dataProtector/types)
7474

7575
**Limits**: File size depends on your storage choice (IPFS or Arweave). For
7676
large datasets, consider using another IPFS node.

src/manage-data/guides/handle-schemas-dataset-types.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ MIME types manually.
8686

8787
## Why Schemas Matter
8888

89+
- **Clarity**: Makes your data easier to understand and reuse
90+
- **Safety**: Ensures iExec apps don’t process the wrong data
91+
- **Structure**: Facilitates structured communication between **front-end and
92+
iApp logic**
93+
8994
### 🎯 **For iApp Development**
9095

9196
Schemas let your iApps validate and process data safely:

0 commit comments

Comments
 (0)