Isolated Storage
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Isolated Storage

Isolated storage is a data storage mechanism that provides isolation and safety by defining standardized ways of associating code with saved data. Standardization provides other benefits as well. Administrators can use tools designed to manipulate isolated storage to configure file storage space, set security policies, and delete unused data. With isolated storage, your code no longer needs unique paths to specify safe locations in the file system and data is protected from other applications that only have isolated storage access. "Hard-coded" information that indicates where an application's storage area is located is unnecessary.

Using isolated storage enables partially trusted applications to store data in a manner that is controlled by the computer's security policy. This is especially useful for Web applications and downloaded components that a user might want to run cautiously. Security policy rarely grants this kind of code permission to access the file system using standard I/O mechanisms, but, by default, code running from the local computer, a local network, or the Internet is granted the right to use isolated storage.

Introduction to Isolated Storage

Explains isolated storage and its recommended use.

Scenarios for Isolated Storage

Suggests situations for using isolated storage.

Types of Isolation

Describes the different types of isolation.

Performing Isolated Storage Tasks

Provides a series of examples demonstrating common isolated storage tasks.

IsolatedStorage

Represents the abstract base class from which all isolated storage implementations must derive.

File and Stream I/O

Explains how you can perform synchronous and asynchronous file and data stream access.

Show:
© 2015 Microsoft