SummerOfCode/2012/UserCSP/WeeklyUpdates/2012-05-21: Difference between revisions

Jump to navigation Jump to search
Line 10: Line 10:
* Database ("userCSP.sqlite") is created using third-party module "sqlite" for Jetpack.
* Database ("userCSP.sqlite") is created using third-party module "sqlite" for Jetpack.


* To store user defined policies for web site "userCSPTable" is created "userCSP.sqlite" database.  
* To store user defined policies for web site "userCSPTable" table is created in "userCSP.sqlite" database.  


* Third-party module "sqlite" modified to operate on my custom database table. Such as "tableUsedOrNew" method is added to check whether "userCSPTable" table exits on user's computer or not. IF not then it create the table.
* I modified the third-party "sqlite" module to operate on my custom database table. Such as "tableUsedOrNew" method is added to check whether "userCSPTable" table exits on user's computer or not. IF not then it create the table.


* The "userCSPTable" contains 11 columns. domainName, defaultSrc, scriptSrc, objectSrc, imgSrc, mediaSrc, styleSrc, frameSrc, fontSrc , xhrSrc, frameAncestors.
* The "userCSPTable" contains 11 columns. domainName, defaultSrc, scriptSrc, objectSrc, imgSrc, mediaSrc, styleSrc, frameSrc, fontSrc , xhrSrc, frameAncestors.
Confirmed users
461

edits

Navigation menu