Bug 3057 - Documentation: SQLite: add support for Apple's modified open flags for securing files
Summary: Documentation: SQLite: add support for Apple's modified open flags for securi...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 4.x
Hardware: PC Mac OS
: --- enhancement
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
: 3027 ()
Depends on:
Blocks:
 
Reported: 2012-01-25 10:08 UTC by Miguel de Icaza [MSFT]
Modified: 2012-02-19 15:58 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Miguel de Icaza [MSFT] 2012-01-25 10:08:43 UTC
There is a family of flags that APple's iOS Sqlite supports:
'
SQLITE_OPEN_FILEPROTECTION_*

Defined in sqlite.h that we need to add support to.

We might also want to contribute changes to Frank's SQLite binding for this.
Comment 1 Miguel de Icaza [MSFT] 2012-01-25 21:02:36 UTC
*** Bug 3027 has been marked as a duplicate of this bug. ***
Comment 2 Miguel de Icaza [MSFT] 2012-02-18 22:10:44 UTC
This has been implemented, but we need to document the new flags.

Problem is: Mono.Data.Sqlite does not have docs published yet.

So I am keeping this bug around.   The new options in the Sqlite Connection string are:

FileProtectionComplete
FileProtectionCompleteUnlessOpen
FileProtectionCompleteUntilFirstUserAuthentication
FileProtectionNone

Which can be set to true if desired.
Comment 3 Miguel de Icaza [MSFT] 2012-02-19 15:58:32 UTC
Documented, they will be in the next push to the server.