# File Sharing in iDrop

iDrop makes it easy to share files and folders with anyone using secure, customizable share links. Recipients don't need an iDrop account to view or download your shared content.

---

## Share a Folder

1. Navigate to the folder you want to share.
2. Click the **⋮** (three-dot menu) on the folder.
3. Select **Share** from the dropdown.
4. Configure your share settings (see below).
5. Click **Create** to generate the share link.
6. Use the **Copy Link** button to copy the URL, or **Open Link** to preview it in a new tab.

---

## Share a File

1. Navigate to the file you want to share.
2. Click the **⋮** (three-dot menu) on the file.
3. Select **Share**.
4. Configure your share settings (see below).
5. Click **Create** to generate the link.
6. Copy the link and send it to your recipients.

---

## Share Settings

When creating or editing a share, you can configure several options to control how recipients interact with your content.

### Permissions

- **Include Subfolders** (folder shares only) — When enabled, recipients can browse into subfolders within the shared folder. When disabled, only the top-level folder contents are visible.
- **Allow Downloading** — When enabled, recipients can download files from the share. When disabled, recipients can only view files but not download them.

### Password Protection

- **Require Password** — Enable this to protect the share with a password. Recipients must enter the correct password before they can view the shared content.
- Choose a strong password and share it with your recipients through a separate channel (e.g., email, text message) for added security.
- You can change or remove the password at any time by editing the share.

### Expiration

Set how long the share link remains active. Available expiration periods:

- **1 day** — Link expires after 24 hours.
- **7 days** — Link expires after one week.
- **30 days** — Link expires after one month.
- **60 days** — Link expires after two months.
- **1 year** — Link expires after one year.
- **Never** — Link remains active indefinitely until you manually delete it.

After a share expires, recipients will see a "Content Unavailable" message when they try to access the link.

### Branding

Customize the appearance of your share page to match your brand or project:

- **Page Title** — Set a custom title that appears at the top of the share page.
- **Page Image URL** — Provide a URL to a custom header image displayed on the share page.

---

## Managing Shares

### View All Shares

All of your active and expired shares are listed on the **Shared Files** page, accessible from the sidebar. Shares are organized by space.

### Edit a Share

1. Go to the **Shared Files** page from the sidebar.
2. Find the share you want to edit and click its **⋮** (three-dot menu).
3. Select **Edit**.
4. Update the permissions, expiration, password, or branding as needed.
5. Click **Update** to save your changes.

### Delete a Share

1. Go to the **Shared Files** page.
2. Click the **⋮** menu on the share you want to remove.
3. Select **Delete**.
4. Confirm the deletion.

Once deleted, the share link immediately stops working and recipients will no longer be able to access the content.

### Copy or Open a Share Link

From the **Shared Files** page, each share displays action buttons:

- **Copy Link** — Copies the share URL to your clipboard.
- **Open Link** — Opens the share page in a new browser tab so you can preview what recipients see.

---

## Receiving Shared Content

When someone shares a link with you, here's how to access it.

### Viewing a Shared Folder

1. Open the shared link in your browser.
2. If the share is password-protected, enter the password and click **Continue**.
3. Browse the folder contents displayed as a grid of files and subfolders.
4. If subfolders are included, click any subfolder to browse into it.

### Viewing a Shared File

1. Open the shared link in your browser.
2. If password-protected, enter the password.
3. The file is displayed with its preview or thumbnail (if available).

### Downloading from a Share

1. Open the shared link.
2. Click the download icon next to a file (folder shares) or the download button (file shares).
3. The file is saved to your browser's default download location.

> **Note:** If the share owner has disabled downloading, the download option will not be available.

---

## Share Link Format

Each share link is unique and contains a secure hash. Share links follow this format:

```
https://[your-subdomain].idrop.com/sh/[unique-hash]
```

- The link is tied to your account's subdomain.
- The unique hash ensures only people with the link can access the content.
- Links cannot be guessed or enumerated.

---

## Best Practices

- **Use passwords for sensitive content** — Always enable password protection when sharing confidential or sensitive files.
- **Set appropriate expirations** — Use short expiration periods for time-sensitive content. Avoid "Never" unless you intend permanent access.
- **Review shares regularly** — Visit the Shared Files page periodically to review and clean up shares you no longer need.
- **Use branding for client-facing shares** — Set a custom page title and image to create a professional experience for recipients.
- **Share passwords separately** — Send share passwords through a different channel than the share link itself.

---

## Troubleshooting

### "Content Unavailable" message

This means the share has either expired or been deleted by the owner. Contact the person who shared the link to request a new one.

### Cannot download files

The share owner may have disabled downloading. Contact them to request download permission, or ask them to create a new share with downloading enabled.

### Password not working

Passwords are case-sensitive. Make sure you're entering it exactly as provided. If you've forgotten the password, contact the share owner.
