File Encryption - Win32 apps (2024)

Table of Contents
In this article In this section
  • Article

The Encrypted File System, or EFS, provides an additional level of security for files and directories. It provides cryptographic protection of individual files on NTFS file system volumes using a public-key system.

Typically, the access control to file and directory objects provided by the Windows security model is sufficient to protect unauthorized access to sensitive information. However, if a laptop that contains sensitive data is lost or stolen, the security protection of that data may be compromised. Encrypting the files increases security.

To determine whether a file system supports file encryption for files and directories, call the GetVolumeInformation function and examine the FS_FILE_ENCRYPTION bit flag. Note that the following items cannot be encrypted:

  • Compressed files
  • System files
  • System directories
  • Root directories
  • Transactions

Sparse files can be encrypted.

TxF does not support most operations on Encrypted File System (EFS) files. The only operations TxF supports are read operations, such as ReadEncryptedFileRaw.

Note

When the source file is encrypted, CopyFile and CopyFileEx rely on the EFS service (hosted in lsass.exe) to create the target file and apply keys used in encryption of the source file. These operations are performed by EFS service while impersonating the caller of CopyFile or CopyFileEx.

In this section

TopicDescription
Handling Encrypted Files and Directories
A file marked encrypted is encrypted by the NTFS file system by using the current encryption driver.
Encrypted Files and User Keys
Lists the functions to use to create a new key, add a key to an encrypted file, query the keys for an encrypted file, and remove keys from an encrypted file.
Backup and Restore of Encrypted Files
The raw encryption functions enable backup of encrypted files.

For more information about encryption, see Adding Users to an Encrypted File.

For more information about cryptography, see Cryptography.

File Encryption - Win32 apps (2024)
Top Articles
Refer a Friend | Credit Cards | CapitalOne.com
How to withdraw money from Revolut
SZA: Weinen und töten und alles dazwischen
Public Opinion Obituaries Chambersburg Pa
The UPS Store | Ship & Print Here > 400 West Broadway
Breaded Mushrooms
Unblocked Games Premium Worlds Hardest Game
Evita Role Wsj Crossword Clue
Joe Gorga Zodiac Sign
Audrey Boustani Age
Breakroom Bw
Hood County Buy Sell And Trade
Craiglist Galveston
Georgia Vehicle Registration Fees Calculator
How Much You Should Be Tipping For Beauty Services - American Beauty Institute
Farmer's Almanac 2 Month Free Forecast
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
Viha Email Login
Blue Rain Lubbock
Tips on How to Make Dutch Friends & Cultural Norms
Wemod Vampire Survivors
Rs3 Ushabti
Yugen Manga Jinx Cap 19
eugene bicycles - craigslist
Bayard Martensen
Gopher Hockey Forum
Select The Best Reagents For The Reaction Below.
Elijah Streams Videos
FSA Award Package
25Cc To Tbsp
Rlcraft Toolbelt
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Polk County Released Inmates
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
Domina Scarlett Ct
Build-A-Team: Putting together the best Cathedral basketball team
Robeson County Mugshots 2022
Academic important dates - University of Victoria
Skill Boss Guru
Ramsey County Recordease
LoL Lore: Die Story von Caitlyn, dem Sheriff von Piltover
Quaally.shop
Tom Kha Gai Soup Near Me
Unblocked Games - Gun Mayhem
Strange World Showtimes Near Marcus La Crosse Cinema
Skyward Login Wylie Isd
Marion City Wide Garage Sale 2023
Tamilblasters.wu
Affidea ExpressCare - Affidea Ireland
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5519

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.