Here has a sqlite3 MemVfs implementation.

http://code.google.com/p/sphivedb/downloads/list

spmemvfs-0.3.tar.gz


2010/5/20 Max Cat <[email protected]>:
> Hi all,
>
> Is there any way to load a sqlite3 db from a location in memory? Ideally, I'd 
> like to have a memory pointer (eg, something provided via malloc), which I 
> could then use as the handle sqlite3 uses to load the database.
>
> The reason I'm trying to do this: I have an encrypted database file that I 
> will copy into memory, decrypt, and then process. I would like to do this 
> entirely in memory (no unencrypted files on the HD) to reduce the likelihood 
> of casual users snooping in the db file.
>
> If that makes no sense, let me know, and I'll try to clarify.
>
> Thanks in advance for your help! :)
>
> -Max
>
>
>
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to