[tor-bugs] #2950 [Tor Browser]: Make Permissions-Manager memory-only in TorBrowser

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon May 2 05:41:41 UTC 2011


#2950: Make Permissions-Manager memory-only in TorBrowser
-------------------------+--------------------------------------------------
 Reporter:  mikeperry    |          Owner:  mikeperry
     Type:  defect       |         Status:  accepted 
 Priority:  normal       |      Milestone:           
Component:  Tor Browser  |        Version:           
 Keywords:               |         Parent:  #2877    
   Points:               |   Actualpoints:           
-------------------------+--------------------------------------------------

Comment(by mikeperry):

 For the permissions manager, it lives in
 extensions/cookie/nsPermissionManager.cpp. THe code that creates the
 database is in nsPermissionManager::InitDB().

 It looks like we can hack it to be a memory only db according to:
 https://developer.mozilla.org/en/XPCOM_Interface_Reference/mozIStorageService#openSpecialDatabase%28%29

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2950#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list