Compare Revisions

Security preferences

Revision 302365:

Revision 302365 by alym1005 on

Revision 303481:

Revision 303481 by bakecapasion on

Title:
Security preferences
Security preferences
Slug:
Midas/Security_preferences
Midas/Security_preferences
Tags:
"editor","Midas"
"editor","Midas"
Content:

Revision 302365
Revision 303481
t8      To protect users' private information, unprivileged scriptst8      <span id="result_box" lang="it"><span class="hps">Flippa</s
> cannot invoke the Cut, Copy, and Paste commands in the Mozilla r>pan><span>-Clone</span> <span class="hps">script è</span> <span c
>ich text editor, so the corresponding buttons on the Mozilla Rich>lass="hps">un sito web e</span> <span class="hps">mercato</span> 
> Text Editing demo page will not work. To enable these functions ><span class="hps">script di</span> <span class="hps">dominio</spa
>for purposes of the demo, you must modify your browser preference>n> <span class="hps">zeescripts.com</span> <span class="hps">che 
>s.>permette agli utenti</span> <span class="hps">di acquistare</span
 >><span>,</span> <span class="hps">vendere e</span> <span class="h
 >ps">scambiare</span> <span class="hps">insediate e</span> <span c
 >lass="hps">nuovi siti web</span><span>.</span><br>
9    </p>
10    <p>
11      For Firefox:
12    </p>
13    <ol>
14      <li>Quit Firefox. If you have Quick Launch running (in Wind
>ows, an icon in the toolbar), quit that too. 
15      </li>
16      <li>
17        <a class="external" href="http://support.mozilla.com/en-U
>S/kb/Profiles">Find your Firefox profile directory</a>. 
18      </li>
19      <li>Open the <code class="filename">user.js</code> file fro
>m that directory in a text editor. If there's no user.js file, cr 
>eate one. 
20      </li>
21      <li>Add these lines to <code class="filename">user.js</code
>>: 
22        <pre class="code">
23<span class="diff_sub">user_pref("capability.policy.policynames",
> "allowclipboard"); 
24</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.sites", "bconline.broward.edu</span><span class="diff_su 
>b">"); 
25</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.Clipboard.cutcopy", "</span><span class="diff_sub">allAc 
>cess");</span> 
26<span class="diff_sub">user_pref("capability.policy.allowclipboar
>d.Clipboard.paste", "al</span><span class="diff_sub">lAccess");</ 
>span> 
27</pre>
28      </li>
29      <li>Change the url <a class="external" href="http://www.moz
>illa.org" rel="freelink"><code class="url">http://www.mozilla.org 
></code></a> to the site for which you want to enable this functio 
>n. 
30      </li>
31      <li>Save the file, and restart Firefox. The Clipboard butto
>ns should now function. 
32      </li>
33    </ol>
34    <div class="note">
35      <strong>Note:</strong> The preference is site as well as pr
>otocol specific. For example:<br> 
36      <pre>9      <br>
37user_pref("capability.policy.allowclipboard.sites", "http://www.b10      <span class="hps">Il sito</span> <span class="hps">consente
>conline.broward.edu")> agli acquirenti</span> <span class="hps">e venditori</span> <spa
 >n class="hps">di siti web</span> <span class="hps">per incontrars
 >i</span> <span class="hps">in un ambiente</span> <span class="hps
 >">sicuro e protetto</span> <span class="hps">per fare affari</spa
 >n> <span class="hps">insieme</span><span>.</span><br>
38</pre>
39      <p>
40        is not the same as:
41      </p>
42      <pre>11      <br>
43user_pref("capability.policy.allowclipboard.sites", "https://www.12      <span class="hps">Se sei</span> <span class="hps">un vendit
>bconline.broward.edu")>ore</span><span>, è sufficiente creare</span> <span class="hps">u
 >n nuovo account</span><span>,</span> <span class="hps">aggiungere
 > alcuni</span> <span class="hps">crediti</span> <span class="hps"
 >>al tuo conto</span> <span class="hps">con PayPal</span><span>,</
 >span> <span class="hps">e poi</span> <span class="hps">iniziare a
 > postare</span> <span class="hps">i vostri script</span> <span cl
 >ass="hps">per la vendita.</span><br>
44</pre>
45      <p>13      <br>
46        This is because the first uses HTTP while the second uses14      <span class="hps">Come acquirente,</span> <span class="hps"
> HTTPS.>>è sufficiente creare</span> <span class="hps">il tuo</span> <spa
 >n class="hps">account e iniziare a</span> <span class="hps">offer
 >te</span><span>!</span> <span class="hps">Ci sono molti</span> <s
 >pan class="hps">nuovi siti web</span> <span class="hps">e ha stab
 >ilito</span> <span class="hps">che si</span> <span class="hps">po
 >ssono fare offerte</span> <span class="hps">così come</span> <spa
 >n class="hps">molti con</span> <span class="hps">Compralo Subito<
 >/span> <span class="hps">opzioni!</span></span>
47      </p>
48    </div>
49    <p>
50      If you want to allow multiple URLs to access the Paste oper
>ation, separate the URLs with a space. For example: 
51    </p>
52    <pre>
53user_pref("capability.policy.allowclipboard.sites",
54 "http://https://bconline.broward.edu/d2l https://https://bconlin
>e.broward.edu/d2l) 
55</pre>
56    <dl>
57      <dt>
58        For more information about security policies, see <a clas
>s="external" href="http://www.mozilla.org/projects/security/compo 
>nents/ConfigPolicy.html">http://www.mozilla.org/projects/security 
>/components/ConfigPolicy.html</a>. 
59      </dt>
60    </dl>
61    <pre class="code">
62<span class="diff_sub">user_pref("capability.policy.policynames",
> "allowclipboard"); 
63</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.sites", "bconline.broward.edu</span><span class="diff_su 
>b">"); 
64</span><span class="diff_sub">user_pref("capability.policy.allowc
>lipboard.Clipboard.cutcopy", "</span><span class="diff_sub">allAc 
>cess");</span> 
65<span class="diff_sub">user_pref("capability.policy.allowclipboar
>d.Clipboard.paste", "al</span><span class="diff_sub">lAccess");</ 
>span> 
66</pre>
67    <p>
68      &nbsp;

Back to History