Title: Storage for EDD via OneDrive
Author: Mohammadreza Ahm
Published: <strong>23 Tháng 1, 2026</strong>
Last modified: 18 Tháng 9, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/storage-for-edd-via-onedrive/assets/banner-772x250.png?rev=
3445325)

![](https://ps.w.org/storage-for-edd-via-onedrive/assets/icon-256x256.png?rev=3445325)

# Storage for EDD via OneDrive

 Bởi [Mohammadreza Ahm](https://profiles.wordpress.org/mohammadr3z/)

[Tải về](https://downloads.wordpress.org/plugin/storage-for-edd-via-onedrive.1.2.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/storage-for-edd-via-onedrive/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/storage-for-edd-via-onedrive/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/storage-for-edd-via-onedrive/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/storage-for-edd-via-onedrive/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/)

## Mô tả

Storage for EDD via OneDrive is a powerful extension for Easy Digital Downloads 
that allows you to store and deliver your digital products using Microsoft OneDrive
cloud storage. This plugin provides seamless integration with Microsoft Graph API,
featuring OAuth2 authentication and secure download links.

#### Key Features

 * **OneDrive Integration**: Store your digital products securely in Microsoft OneDrive
 * **OAuth2 Authentication**: Secure and easy connection to your Microsoft account
 * **Temporary Download Links**: Generates secure temporary download URLs via @microsoft.
   graph.downloadUrl
 * **Easy File Management**: Upload files directly to OneDrive through WordPress
   admin
 * **Media Library Integration**: Browse and select files from your OneDrive within
   WordPress
 * **Folder Support**: Navigate and organize files in folders
 * **Security First**: Built with WordPress security best practices
 * **Developer Friendly**: Clean, well-documented code with hooks and filters

### Configuration

 1. Register an Azure AD Application at [Azure App Registrations](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade)
 2. Add API permissions for Microsoft Graph (Files.Read, Files.ReadWrite, User.Read,
    offline_access)
 3. Set Redirect URI to: `https://your-site.com/odse-oauth-callback/`
 4. Create a Client Secret and copy the value
 5. Go to Downloads > Settings > Extensions > OneDrive Storage
 6. Enter your Application (client) ID and Client Secret
 7. Save settings and click “Connect to OneDrive”

### Usage

#### Browsing and Selecting Files

 1. When creating or editing a download in Easy Digital Downloads
 2. Click the “Browse OneDrive” button next to the file URL field
 3. Browse your OneDrive storage using the folder navigation
 4. Use the breadcrumb navigation bar to quickly jump to parent folders
 5. Use the search box in the header to filter files by name
 6. Click “Select” to use an existing file for your download

#### Uploading New Files

 1. In the OneDrive browser, click the “Upload” button in the header row
 2. The upload form will appear above the file list
 3. Choose your file and click “Upload”
 4. After a successful upload, the file URL will be automatically set with the OneDrive
    prefix
 5. Click the button again to hide the upload form

### External services

This plugin connects to Microsoft Graph API (OneDrive) to manage files, create download
links, and handle authentication.

It sends the necessary authentication tokens and file requests to Microsoft servers.
This happens when you browse your OneDrive files in the dashboard, upload files,
or when a customer downloads a file.

 * **Service**: Microsoft Graph API (OneDrive)
 * **Used for**: Authentication, file browsing, uploading, and generating download
   links.
 * **Data sent**: OAuth tokens, file metadata, file content (during upload).
 * **URLs**:
    - `https://graph.microsoft.com` (API calls)
    - `https://login.microsoftonline.com` (Authentication)
 * **Legal**: [Terms of Service](https://www.microsoft.com/en-us/legal/terms-of-use),
   [Privacy Policy](https://privacy.microsoft.com/en-us/privacystatement)

### Support

For support and bug reports, please use the WordPress.org plugin support forum.

If you find this plugin helpful, please consider leaving a review on WordPress.org.

### Other Storage Providers

Looking for a different storage provider? Check out our other plugins:

 * [Storage for EDD via Box](https://wordpress.org/plugins/storage-for-edd-via-box/)–
   Use Box for your digital product storage
 * [Storage for EDD via Dropbox](https://wordpress.org/plugins/storage-for-edd-via-dropbox/)–
   Use Dropbox for your digital product storage
 * [Storage for EDD via S3-Compatible](https://wordpress.org/plugins/storage-for-edd-via-s3-compatible/)–
   Use S3-compatible services like MinIO, DigitalOcean Spaces, Linode, Wasabi, and
   more

### Privacy Policy

This plugin requires authorization to access your Microsoft OneDrive account for
file storage and retrieval. It does not collect or store any personal data beyond
the OAuth tokens needed to maintain the connection. All file storage and delivery
is handled through Microsoft’s secure infrastructure.

## Ảnh màn hình

[⌊Admin panel user interface⌉⌊Admin panel user interface⌉[

Admin panel user interface

[⌊File selection from OneDrive storage section⌉⌊File selection from OneDrive storage
section⌉[

File selection from OneDrive storage section

[⌊File upload to OneDrive storage interface⌉⌊File upload to OneDrive storage interface⌉[

File upload to OneDrive storage interface

[[

## Cài đặt

 1. Upload the plugin files to the `/wp-content/plugins/storage-for-edd-via-onedrive`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Make sure you have Easy Digital Downloads plugin installed and activated.
 3. Run `composer install` in the plugin directory if installing from source (not needed
    for release versions).
 4. Activate the plugin through the ‘Plugins’ screen in WordPress.
 5. Navigate to Downloads > Settings > Extensions > OneDrive Storage to configure the
    plugin.

## Hỏi đáp

### How secure are the download links?

The plugin uses Microsoft Graph API’s `@microsoft.graph.downloadUrl` which provides
temporary, pre-authenticated download links. These links are generated on-demand
when a customer purchases your product.

### What file types are supported for upload?

The plugin supports safe file types including:
 * Archives: ZIP, RAR, 7Z, TAR, GZ*
Documents: PDF, DOC, DOCX, TXT, RTF, XLS, XLSX, CSV, PPT, PPTX * Images: JPG, JPEG,
PNG, GIF, WEBP * Audio: MP3, WAV, OGG, FLAC, M4A * Video: MP4, AVI, MOV, WMV, FLV,
WEBM * E-books: EPUB, MOBI, AZW, AZW3 * Web files: CSS, JS, JSON, XML

Dangerous file types (executables, scripts) are automatically blocked for security.

### Can I customize the URL prefix for OneDrive files?

Yes, developers can customize the URL prefix using the `odse_url_prefix` filter.
Add this code to your theme’s functions.php:

    ```
    function customize_onedrive_url_prefix($prefix) {
        return 'edd-myprefix://'; // Change to your preferred prefix
    }
    add_filter('odse_url_prefix', 'customize_onedrive_url_prefix');
    ```

### Can I customize the allowed file types (MIME types)?

Yes, developers can customize the allowed MIME types using the `odse_allowed_mime_types`
filter.

## Đánh giá

![](https://secure.gravatar.com/avatar/113558204d158fbfa045eb7376d9776b6b2038b2cc5e66ab4d755611af710095?
s=60&d=retro&r=g)

### 󠀁[Works great with OneDrive storage](https://wordpress.org/support/topic/works-great-with-onedrive-storage/)󠁿

 [xaifact](https://profiles.wordpress.org/xaifact/) 2 Tháng 2, 2026

I’m really happy to see this functionality available across different storage providers,
not limited to just one service.I already have 50 GB on OneDrive, so being able 
to use that space to serve my files for free is a big plus. It gives you much more
flexibility when selling digital products with Easy Digital Downloads.

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/)

## Người đóng góp & Lập trình viên

“Storage for EDD via OneDrive” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ Mohammadreza Ahm ](https://profiles.wordpress.org/mohammadr3z/)

“Storage for EDD via OneDrive” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/storage-for-edd-via-onedrive/contributors)
vì đóng góp của họ.

[Dịch “Storage for EDD via OneDrive” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/storage-for-edd-via-onedrive)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/storage-for-edd-via-onedrive/),
check out [SVN repository](https://plugins.svn.wordpress.org/storage-for-edd-via-onedrive/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/storage-for-edd-via-onedrive/)
qua [RSS](https://plugins.trac.wordpress.org/log/storage-for-edd-via-onedrive/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.2.1

 * Updated: Internal vendor dependencies.

#### 1.2.0

 * Matched the loading skeleton search placeholder to the live search field.
 * Rebuilt the OneDrive file browser with the new shadcn-style interface.
 * Improved upload feedback, keyboard focus states, and scrollbar stability.

#### 1.1.1

 * Updated: Internal vendor dependencies.

#### 1.1.0

 * Major Refactor: Replaced legacy iframe browser with modern AJAX implementation
   for improved performance.

#### 1.0.5

 * Improved: UI styles and enhanced layout consistency for better harmony.
 * Improved: Comprehensive code improvements and stability optimizations.
 * Added: Skeleton loader with shimmer animation for better UX while loading OneDrive
   browser modal.

#### 1.0.4

 * Use wp_enqueue commands: Replaced inline and in includes/class-media-library.
   php (admin media library)

#### 1.0.3

 * Added: New “Browse” button next to file inputs for easier file selection.
 * Improved: Modernized file browser UI with a dedicated modal window.
 * Improved: File browser is now context-aware, opening directly to the selected
   file’s folder.
 * Improved: Browse button is automatically hidden if the plugin is not configured.
 * Improved: Removed legacy “OneDrive Library” tab from the standard WordPress media
   uploader for a cleaner interface.

#### 1.0.2

 * Added: Native search input type with clear (“X”) icon support for a cleaner UI.
 * Improved: Mobile breadcrumb navigation with path wrapping for long directory 
   names.
 * Improved: Reduced separator spacing in breadcrumbs on mobile devices.
 * Improved: Media library table styling for more consistent file and folder display.
 * Improved: Redesigned folder rows with better icons and refined hover effects.
 * Improved: Enhanced mobile responsiveness for the file browser table.
 * Fixed: Corrected file name and path display order in the media library.
 * Improved: Standardized header row spacing and title font sizes for UI consistency.
 * Improved: Enhanced notice detail styling for better error/success message readability.
 * Improved: More robust handling of file lists with additional data validation.
 * Security: Standardized use of wp_json_encode() for client-side data.
 * Improved: Unified root folder label as “Home” across all breadcrumb states for
   consistent navigation.

#### 1.0.1

 * Added: Breadcrumb navigation in file browser – click any folder in the path to
   navigate directly.
 * Improved: Integrated search functionality directly into the breadcrumb navigation
   bar for a cleaner UI.
 * Improved: Better navigation experience without needing the Back button.
 * Improved: Enhanced styling for search inputs and buttons, including compact padding.
 * Fixed: RTL layout issues for breadcrumbs and navigation buttons.
 * Cleaned: Removed legacy CSS and unused search container elements.

#### 1.0.0

 * Initial release
 * Microsoft Graph API OAuth2 integration
 * Temporary download link generation via @microsoft.graph.downloadUrl
 * Media library integration
 * File upload functionality
 * Admin settings interface
 * Security enhancements and validation
 * Internationalization support

## Meta

 *  Phiên bản **1.2.1**
 *  Cập nhật lần cuối **3 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.3**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/storage-for-edd-via-onedrive/) và
   [Persian](https://fa.wordpress.org/plugins/storage-for-edd-via-onedrive/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/storage-for-edd-via-onedrive)
 * Thẻ
 * [cloud](https://vi.wordpress.org/plugins/tags/cloud/)[easy digital downloads](https://vi.wordpress.org/plugins/tags/easy-digital-downloads/)
   [edd](https://vi.wordpress.org/plugins/tags/edd/)[OneDrive](https://vi.wordpress.org/plugins/tags/onedrive/)
   [storage](https://vi.wordpress.org/plugins/tags/storage/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/storage-for-edd-via-onedrive/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/reviews/)

## Những người đóng góp

 *   [ Mohammadreza Ahm ](https://profiles.wordpress.org/mohammadr3z/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/storage-for-edd-via-onedrive/)