SummerOfCode/2012/UserCSP/WeeklyUpdates/2012-04-30: Difference between revisions

Jump to navigation Jump to search
Line 29: Line 29:


=== Friday, {{#time:d F|{{SUBPAGENAME}} +4 days}} ===
=== Friday, {{#time:d F|{{SUBPAGENAME}} +4 days}} ===
UI of UserCSP add-on:
http://swl.ddns.comp.nus.edu.sg/userCSP/csp1.png
<br />
Figure: UserCSP add-on UI
* Tabpanel of CSP directives: Each directive will have its own tab. Currently there are only three directives supported.  Users can change to another CSP directive by clicking on its tab button.  For example, to write rules for "object-src" CSP directive, click on "object-src" tab on the tab panel and write rules for object-src CSP directives.
* Text field of "Enter Rule", allows user to type rules for the selected CSP directive.
* "Add" button adds rule written by user to "User Specified Rule" list.
* "Website Specified Rules" shows rules specified by the website for selected tab's directive. If website didn't specify any rules then it is empty.
* If website specified CSP policy, then "Add to User Rule" button is useful for users to use some of those rules into their rule sets.  User need to select a rule they want to use from "Website Specified Rules" list and click on "Add to User Rule" button to add all selected rules to "User Specified Rules" list.
* The "User Specified Rules" contains rules specified by user.
* The "Apply User Rules" button applies the "User Secified Rules" for the currently active website.
<p></p>
UI of UserCSP add-on:
http://swl.ddns.comp.nus.edu.sg/userCSP/csp2.png
<br />
Confirmed users
461

edits

Navigation menu