home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 November / PCO1197.ISO / FilesBBS / WIN95 / NET_COM / N32E403.EXE / nav40l.z / java40.jar / netscape / security / UserDialogHelper.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-09-04  |  28.8 KB  |  1,018 lines

  1. package netscape.security;
  2.  
  3. import java.awt.Rectangle;
  4.  
  5. public class UserDialogHelper {
  6.    static final int LOW_RISK = 10;
  7.    static final int MEDIUM_RISK = 20;
  8.    static final int HIGH_RISK = 30;
  9.  
  10.    static String getUnsignedAppletStr() {
  11.       return "Unsigned Java Applet Window";
  12.    }
  13.  
  14.    static String getUnsignedAppletStr(String var0) {
  15.       return "Signed by: " + var0;
  16.    }
  17.  
  18.    static String userDialogTitle() {
  19.       return "Java Security";
  20.    }
  21.  
  22.    static String userDialogTitleBold() {
  23.       return "<b><i>Java Security</i></b>";
  24.    }
  25.  
  26.    static String riskLabel(String var0) {
  27.       return "Granting the following is <b>" + var0 + " risk</b>:";
  28.    }
  29.  
  30.    static String dangerLabel() {
  31.       return "Danger";
  32.    }
  33.  
  34.    static String dangerImage() {
  35.       return "netscape/security/warn.gif";
  36.    }
  37.  
  38.    static String certImage() {
  39.       return "netscape/security/cert.gif";
  40.    }
  41.  
  42.    static String topImage() {
  43.       return "netscape/security/top.gif";
  44.    }
  45.  
  46.    static String bottomImage() {
  47.       return "netscape/security/bottom.gif";
  48.    }
  49.  
  50.    static String leftImage() {
  51.       return "netscape/security/left.gif";
  52.    }
  53.  
  54.    static String rightImage() {
  55.       return "netscape/security/right.gif";
  56.    }
  57.  
  58.    static String topleftImage() {
  59.       return "netscape/security/topleft.gif";
  60.    }
  61.  
  62.    static String toprightImage() {
  63.       return "netscape/security/topright.gif";
  64.    }
  65.  
  66.    static String bottomleftImage() {
  67.       return "netscape/security/bottomleft.gif";
  68.    }
  69.  
  70.    static String bottomrightImage() {
  71.       return "netscape/security/bottomright.gif";
  72.    }
  73.  
  74.    static String viewCertificateLabel() {
  75.       return "Certificate";
  76.    }
  77.  
  78.    static String accessDetailsLabel() {
  79.       return "Details";
  80.    }
  81.  
  82.    static String dialogHeadingCert(String var0) {
  83.       return "JavaScript or a Java applet from '<b>" + var0 + "</b>' is requesting additional privileges.";
  84.    }
  85.  
  86.    static String dialogHeadingCodebase(String var0) {
  87.       return "JavaScript or a Java applet from <b>" + var0 + "</b> is requesting additional privileges. It is <b>not digitally signed</b>.";
  88.    }
  89.  
  90.    static String privilegeQuestionCodebase(String var0) {
  91.       return "Do you wish to grant this access?";
  92.    }
  93.  
  94.    static String privilegeQuestionCert(String var0) {
  95.       return "Do you wish to grant this access?";
  96.    }
  97.  
  98.    static String yesPrivilegeCodebase(String var0) {
  99.       return "Yes, grant this access to all applets or scripts from <b>" + var0 + "</b> for this session";
  100.    }
  101.  
  102.    static String yesPrivilegeCert(String var0) {
  103.       return "Yes, grant this access to all applets or scripts from <b>" + var0 + "</b> for this session";
  104.    }
  105.  
  106.    static String noPrivilegeCodebase(String var0) {
  107.       return "No, deny this access (This may mean the applet or script cannot work properly)";
  108.    }
  109.  
  110.    static String noPrivilegeCert(String var0) {
  111.       return "No, deny this access (This may mean the applet or script cannot work properly)";
  112.    }
  113.  
  114.    static String rememberPrivilegeCodebase(String var0) {
  115.       return "Remember this decision for all applets or scripts from <b>" + var0 + "</b>";
  116.    }
  117.  
  118.    static String rememberPrivilegeCert(String var0) {
  119.       return "Remember this decision for all applets or scripts from <b>" + var0 + "</b>";
  120.    }
  121.  
  122.    static String rememberPrivilege() {
  123.       return "Remember this decision";
  124.    }
  125.  
  126.    static String certIdentity(String var0) {
  127.       return "<10> Identity verified by " + var0 + " </10> ";
  128.    }
  129.  
  130.    static String userDialogGrant() {
  131.       return "  Grant  ";
  132.    }
  133.  
  134.    static String userDialogDeny() {
  135.       return "  Deny  ";
  136.    }
  137.  
  138.    static String userDialogOkay() {
  139.       return "  OK  ";
  140.    }
  141.  
  142.    static String userDialogHelp() {
  143.       return "  Help  ";
  144.    }
  145.  
  146.    static String userDialogClose() {
  147.       return "  Close  ";
  148.    }
  149.  
  150.    static int userDialogWidth() {
  151.       return 600;
  152.    }
  153.  
  154.    static int userDialogHeight() {
  155.       return 600;
  156.    }
  157.  
  158.    static String principalDetailTitle(String var0) {
  159.       return "Certificate for " + var0;
  160.    }
  161.  
  162.    static String certHead1() {
  163.       return "The JavaScript or Java applet was digitally signed with the following certificate. The certificate proves who the applet or script is from.";
  164.    }
  165.  
  166.    static String certCompanyNameCaption() {
  167.       return "<b>This Certificate belongs to:</b> ";
  168.    }
  169.  
  170.    static String certIssuedByCaption() {
  171.       return "<b>This Certificate was issued by:</b> ";
  172.    }
  173.  
  174.    static String certSerialNoCaption() {
  175.       return "<b>Serial Number:</b> ";
  176.    }
  177.  
  178.    static String certFingerprintCaption() {
  179.       return "Certificate Fingerprint:";
  180.    }
  181.  
  182.    static String certSerialNo(String var0) {
  183.       return "<b>Serial Number:</b> " + var0;
  184.    }
  185.  
  186.    static String certFingerprint(String var0) {
  187.       return "<b>Certificate Fingerprint:</b> " + var0;
  188.    }
  189.  
  190.    static String certExpiresCaption(String var0) {
  191.       return "<b>This certificate expires on " + var0 + "</b>";
  192.    }
  193.  
  194.    static int principalDetailWidth() {
  195.       return 600;
  196.    }
  197.  
  198.    static int principalDetailHeight() {
  199.       return 900;
  200.    }
  201.  
  202.    static String principalUntrustedCodebase() {
  203.       return "Untrusted URL codebase";
  204.    }
  205.  
  206.    static String getUnsignedPrincipal() {
  207.       return "Unsigned classes from local hard disk";
  208.    }
  209.  
  210.    static String targetDetailDialogTitle() {
  211.       return "Java Security's Target Details";
  212.    }
  213.  
  214.    static String targetDialogHeading(String var0, String var1) {
  215.       return "<b>" + var0 + "</b> is a <b>" + var1 + " risk</b> access.";
  216.    }
  217.  
  218.    static String targetDialogCaption1() {
  219.       return "It consists of";
  220.    }
  221.  
  222.    static String targetDetailDialogDescription() {
  223.       return "Description";
  224.    }
  225.  
  226.    static int targetDetailWidth() {
  227.       return 600;
  228.    }
  229.  
  230.    static int targetDetailHeight() {
  231.       return 900;
  232.    }
  233.  
  234.    static String userDialogDetailsLabel() {
  235.       return "Object Name";
  236.    }
  237.  
  238.    static String userDialogHelpUrl() {
  239.       return "javascript:location.replace('nethelp:netscape/collabra:HELP_SEC_JAVA_SECURITY')";
  240.    }
  241.  
  242.    static int userDialogMinFontSize() {
  243.       return 10;
  244.    }
  245.  
  246.    static int userDialogMaxFontSize() {
  247.       return 20;
  248.    }
  249.  
  250.    static String userDialogInitialFontName() {
  251.       return "TimesRoman";
  252.    }
  253.  
  254.    static int userDialogInitialFontSize() {
  255.       return 14;
  256.    }
  257.  
  258.    static Rectangle MainSecurityDialogSize() {
  259.       return new Rectangle(2, 2, 490, 350);
  260.    }
  261.  
  262.    static Rectangle CertificateDialogSize() {
  263.       return new Rectangle(10, 10, 580, 400);
  264.    }
  265.  
  266.    static Rectangle DetailsDialogSize() {
  267.       return new Rectangle(5, 5, 490, 375);
  268.    }
  269.  
  270.    static Rectangle HelpDialogSize() {
  271.       return new Rectangle(20, 20, 550, 400);
  272.    }
  273.  
  274.    public static final String targetRiskStr(int var0) {
  275.       if (var0 <= 10) {
  276.          return "low";
  277.       } else {
  278.          return var0 <= 20 ? "medium" : "high";
  279.       }
  280.    }
  281.  
  282.    public static final int targetRiskLow() {
  283.       return 10;
  284.    }
  285.  
  286.    public static final String targetRiskColorLow() {
  287.       return "#aaffaa";
  288.    }
  289.  
  290.    public static final int targetRiskMedium() {
  291.       return 20;
  292.    }
  293.  
  294.    public static final String targetRiskColorMedium() {
  295.       return "#ffffaa";
  296.    }
  297.  
  298.    public static final int targetRiskHigh() {
  299.       return 30;
  300.    }
  301.  
  302.    public static final String targetRiskColorHigh() {
  303.       return "#ffaaaa";
  304.    }
  305.  
  306.    static String getTargetHelpUrl() {
  307.       return "http://home.netscape.com/eng/mozilla/4.0/handbook/";
  308.    }
  309.  
  310.    static String targetDesc_ThreadAccess() {
  311.       return "Manipulating other applets (threads) running on your computer";
  312.    }
  313.  
  314.    static String targetDetailDesc_ThreadAccess() {
  315.       return "Manipulating other applets (threads) running on your computer";
  316.    }
  317.  
  318.    static String targetUrl_ThreadAccess() {
  319.       return getTargetHelpUrl() + "#ThreadAccess";
  320.    }
  321.  
  322.    static String targetDesc_ThreadGroupAccess() {
  323.       return "Manipulating groups of applets (threads) running on your computer";
  324.    }
  325.  
  326.    static String targetDetailDesc_ThreadGroupAccess() {
  327.       return "Manipulating groups of applets (threads) running on your computer";
  328.    }
  329.  
  330.    static String targetUrl_ThreadGroupAccess() {
  331.       return getTargetHelpUrl() + "#ThreadGroupAccess";
  332.    }
  333.  
  334.    static String targetDesc_ExecAccess() {
  335.       return "Starting programs stored on your computer";
  336.    }
  337.  
  338.    static String targetDetailDesc_ExecAccess() {
  339.       return "Starting programs that are separate from Communicator and stored on hard disks or other storage media connected to your computer. For example, starting a word-processing or spreadsheet application.";
  340.    }
  341.  
  342.    static String targetUrl_ExecAccess() {
  343.       return getTargetHelpUrl() + "#ExecAccess";
  344.    }
  345.  
  346.    static String targetDesc_ExitAccess() {
  347.       return "Exiting the Communicator program";
  348.    }
  349.  
  350.    static String targetDetailDesc_ExitAccess() {
  351.       return "Exiting all parts of the Communicator program that are currently running and releasing the memory they occupy.";
  352.    }
  353.  
  354.    static String targetUrl_ExitAccess() {
  355.       return getTargetHelpUrl() + "#ExitAccess";
  356.    }
  357.  
  358.    static String targetDesc_LinkAccess() {
  359.       return "Using native code stored in dynamically linked libraries";
  360.    }
  361.  
  362.    static String targetDetailDesc_LinkAccess() {
  363.       return "Using code written specifically for the operating system of your computer. Such code must be stored in dynamically linked libraries on hard disks or other storage media connected to your computer.";
  364.    }
  365.  
  366.    static String targetUrl_LinkAccess() {
  367.       return getTargetHelpUrl() + "#LinkAccess";
  368.    }
  369.  
  370.    static String targetDesc_PropertyWrite() {
  371.       return "Modifying sensitive information stored in your computer";
  372.    }
  373.  
  374.    static String targetDetailDesc_PropertyWrite() {
  375.       return "Modifying sensitive information stored in your computer that is normally kept private, such as certain security policy controls.";
  376.    }
  377.  
  378.    static String targetUrl_PropertyWrite() {
  379.       return getTargetHelpUrl() + "#PropertyWrite";
  380.    }
  381.  
  382.    static String targetDesc_PropertyRead() {
  383.       return "Reading information stored in your computer, such as your user name";
  384.    }
  385.  
  386.    static String targetDetailDesc_PropertyRead() {
  387.       return "Reading information stored in your computer that is normally kept private, such as your user name and the current directory.";
  388.    }
  389.  
  390.    static String targetUrl_PropertyRead() {
  391.       return getTargetHelpUrl() + "#PropertyRead";
  392.    }
  393.  
  394.    static String targetDesc_FileRead() {
  395.       return "Reading files stored in your computer";
  396.    }
  397.  
  398.    static String targetDetailDesc_FileRead() {
  399.       return "Reading any files stored on hard disks or other storage media connected to your computer.";
  400.    }
  401.  
  402.    static String targetUrl_FileRead() {
  403.       return getTargetHelpUrl() + "#FileRead";
  404.    }
  405.  
  406.    static String targetDesc_FileWrite() {
  407.       return "Modifying files stored in your computer";
  408.    }
  409.  
  410.    static String targetDetailDesc_FileWrite() {
  411.       return "Modifying any files stored on hard disks or other storage media connected to you computer.";
  412.    }
  413.  
  414.    static String targetUrl_FileWrite() {
  415.       return getTargetHelpUrl() + "#FileWrite";
  416.    }
  417.  
  418.    static String targetDesc_FileDelete() {
  419.       return "Deleting files stored in your computer";
  420.    }
  421.  
  422.    static String targetDetailDesc_FileDelete() {
  423.       return "Deletion of any files stored on hard disks or other storage media connected to your computer.";
  424.    }
  425.  
  426.    static String targetUrl_FileDelete() {
  427.       return getTargetHelpUrl() + "#FileDelete";
  428.    }
  429.  
  430.    static String targetDesc_FdRead() {
  431.       return "Reading data from a network connection";
  432.    }
  433.  
  434.    static String targetDetailDesc_FdRead() {
  435.       return "Reading data from a network connection via file descriptor";
  436.    }
  437.  
  438.    static String targetUrl_FdRead() {
  439.       return getTargetHelpUrl() + "#FdRead";
  440.    }
  441.  
  442.    static String targetDesc_FdWrite() {
  443.       return "Writing data from a network connection";
  444.    }
  445.  
  446.    static String targetDetailDesc_FdWrite() {
  447.       return "Writing data from a network connection via file descriptor";
  448.    }
  449.  
  450.    static String targetUrl_FdWrite() {
  451.       return getTargetHelpUrl() + "#FdWrite";
  452.    }
  453.  
  454.    static String targetDesc_Listen() {
  455.       return "Accepting connections from other computers on a network";
  456.    }
  457.  
  458.    static String targetDetailDesc_Listen() {
  459.       return "Accepting connections from other computers on a network.";
  460.    }
  461.  
  462.    static String targetUrl_Listen() {
  463.       return getTargetHelpUrl() + "#Listen";
  464.    }
  465.  
  466.    static String targetDesc_Accept() {
  467.       return "Accepting connections from other computers on a network";
  468.    }
  469.  
  470.    static String targetDetailDesc_Accept() {
  471.       return "Accepting connections from other computers on a network.";
  472.    }
  473.  
  474.    static String targetUrl_Accept() {
  475.       return getTargetHelpUrl() + "#Accept";
  476.    }
  477.  
  478.    static String targetDesc_Connect() {
  479.       return "Contacting and connecting with other computers over a network";
  480.    }
  481.  
  482.    static String targetDetailDesc_Connect() {
  483.       return "Contacting and connecting with other computers over a network.";
  484.    }
  485.  
  486.    static String targetUrl_Connect() {
  487.       return getTargetHelpUrl() + "#Connect";
  488.    }
  489.  
  490.    static String targetDesc_Redirect() {
  491.       return "Allow remote computer to redirect connection requests to another computer";
  492.    }
  493.  
  494.    static String targetDetailDesc_Redirect() {
  495.       return "Allow remote computer to redirect connection requests to another computer.";
  496.    }
  497.  
  498.    static String targetUrl_Redirect() {
  499.       return getTargetHelpUrl() + "#Redirect";
  500.    }
  501.  
  502.    static String targetDesc_ConnectWithRedirect() {
  503.       return "Contacting and connecting with other computers over a network";
  504.    }
  505.  
  506.    static String targetDetailDesc_ConnectWithRedirect() {
  507.       return "Contacting and connecting with other computers, where the remote computer can redirect connection requests to another computer.";
  508.    }
  509.  
  510.    static String targetUrl_ConnectWithRedirect() {
  511.       return getTargetHelpUrl() + "#ConnectWithRedirect";
  512.    }
  513.  
  514.    static String targetDesc_Multicast() {
  515.       return "Broadcasting information to multiple computers over a network";
  516.    }
  517.  
  518.    static String targetDetailDesc_Multicast() {
  519.       return "Broadcasting information to multiple computers over a network.";
  520.    }
  521.  
  522.    static String targetUrl_Multicast() {
  523.       return getTargetHelpUrl() + "#Multicast";
  524.    }
  525.  
  526.    static String targetDesc_TopLevelWindow() {
  527.       return "Displaying windows that don't have the unsigned applet label";
  528.    }
  529.  
  530.    static String targetDetailDesc_TopLevelWindow() {
  531.       return "Displaying windows that don't have the unsigned applet label";
  532.    }
  533.  
  534.    static String targetUrl_TopLevelWindow() {
  535.       return getTargetHelpUrl() + "#TopLevelWindow";
  536.    }
  537.  
  538.    static String targetDesc_DialogModality() {
  539.       return "Displaying a dialog box that may temporarily disable the browser";
  540.    }
  541.  
  542.    static String targetDetailDesc_DialogModality() {
  543.       return "Displaying modal dialog boxes: that is, dialog boxes that require you to type or respond in some way before you can do anything else. Modal dialog boxes temporarily disable the browser and can cause problems if not correctly implemented";
  544.    }
  545.  
  546.    static String targetUrl_DialogModality() {
  547.       return getTargetHelpUrl() + "#DialogModality";
  548.    }
  549.  
  550.    static String targetDesc_PackageAccess() {
  551.       return "Using restricted Java system code";
  552.    }
  553.  
  554.    static String targetDetailDesc_PackageAccess() {
  555.       return "Using restricted Java system code";
  556.    }
  557.  
  558.    static String targetUrl_PackageAccess() {
  559.       return getTargetHelpUrl() + "#PackageAccess";
  560.    }
  561.  
  562.    static String targetDesc_PackageDefinition() {
  563.       return "Loading restricted Java system code";
  564.    }
  565.  
  566.    static String targetDetailDesc_PackageDefinition() {
  567.       return "Loading restricted Java system code";
  568.    }
  569.  
  570.    static String targetUrl_PackageDefinition() {
  571.       return getTargetHelpUrl() + "#PackageDefinition";
  572.    }
  573.  
  574.    static String targetDesc_SetFactory() {
  575.       return "Defining protocol handlers for network connections";
  576.    }
  577.  
  578.    static String targetDetailDesc_SetFactory() {
  579.       return "Defining protocol handlers for network connections";
  580.    }
  581.  
  582.    static String targetUrl_SetFactory() {
  583.       return getTargetHelpUrl() + "#SetFactory";
  584.    }
  585.  
  586.    static String targetDesc_MemberAccess() {
  587.       return "Examining the Java code for any applet running on your computer";
  588.    }
  589.  
  590.    static String targetDetailDesc_MemberAccess() {
  591.       return "Examining the Java code for any applet running on your computer";
  592.    }
  593.  
  594.    static String targetUrl_MemberAccess() {
  595.       return getTargetHelpUrl() + "#MemberAccess";
  596.    }
  597.  
  598.    static String targetDesc_PrintJobAccess() {
  599.       return "Printing from within Communicator";
  600.    }
  601.  
  602.    static String targetDetailDesc_PrintJobAccess() {
  603.       return "Printing from within Communicator";
  604.    }
  605.  
  606.    static String targetUrl_PrintJobAccess() {
  607.       return getTargetHelpUrl() + "#PrintJobAccess";
  608.    }
  609.  
  610.    static String targetDesc_SystemClipboardAccess() {
  611.       return "Reading and writing to the system clipboard for your computer";
  612.    }
  613.  
  614.    static String targetDetailDesc_SystemClipboardAccess() {
  615.       return "Reading and writing to the system clipboard for your computer";
  616.    }
  617.  
  618.    static String targetUrl_SystemClipboardAccess() {
  619.       return getTargetHelpUrl() + "#SystemClipboardAccess";
  620.    }
  621.  
  622.    static String targetDesc_AwtEventQueueAccess() {
  623.       return "Monitoring or intercepting typing or mouse movements";
  624.    }
  625.  
  626.    static String targetDetailDesc_AwtEventQueueAccess() {
  627.       return "Monitoring or intercepting typing or mouse movements";
  628.    }
  629.  
  630.    static String targetUrl_AwtEventQueueAccess() {
  631.       return getTargetHelpUrl() + "#AwtEventQueueAccess";
  632.    }
  633.  
  634.    static String targetDesc_SecurityProvider() {
  635.       return "Access to security";
  636.    }
  637.  
  638.    static String targetDetailDesc_SecurityProvider() {
  639.       return "Access to security";
  640.    }
  641.  
  642.    static String targetUrl_SecurityProvider() {
  643.       return getTargetHelpUrl() + "#SecurityProvider";
  644.    }
  645.  
  646.    static String targetDesc_CreateSecurityManager() {
  647.       return "Creating security policies for your computer";
  648.    }
  649.  
  650.    static String targetDetailDesc_CreateSecurityManager() {
  651.       return "Creating security policies for your computer";
  652.    }
  653.  
  654.    static String targetUrl_CreateSecurityManager() {
  655.       return getTargetHelpUrl() + "#CreateSecurityManager";
  656.    }
  657.  
  658.    static String targetDesc_Impersonator() {
  659.       return "Access to impersonate as another application";
  660.    }
  661.  
  662.    static String targetDetailDesc_Impersonator() {
  663.       return "Access to impersonate as another application";
  664.    }
  665.  
  666.    static String targetUrl_Impersonator() {
  667.       return getTargetHelpUrl() + "#Impersonator";
  668.    }
  669.  
  670.    static String targetDesc_BrowserRead() {
  671.       return "Access to browser data";
  672.    }
  673.  
  674.    static String targetDetailDesc_BrowserRead() {
  675.       return "Access to browser data that may be considered private, such as a list of web sites visited or the contents of web page forms you may have filled in.";
  676.    }
  677.  
  678.    static String targetUrl_BrowserRead() {
  679.       return getTargetHelpUrl() + "#BrowserRead";
  680.    }
  681.  
  682.    static String targetDesc_BrowserWrite() {
  683.       return "Modifying the browser";
  684.    }
  685.  
  686.    static String targetDetailDesc_BrowserWrite() {
  687.       return "Modifying the browser in a potentially dangerous way, such as creating windows that may look like they belong to another program or positioning windows anywhere on the screen.";
  688.    }
  689.  
  690.    static String targetUrl_BrowserWrite() {
  691.       return getTargetHelpUrl() + "#BrowserWrite";
  692.    }
  693.  
  694.    static String targetDesc_BrowserAccess() {
  695.       return "Reading or modifying browser data";
  696.    }
  697.  
  698.    static String targetDetailDesc_BrowserAccess() {
  699.       return "Reading or modifying browser data that may be considered private, such as a list of web sites visited or the contents of web forms you may have filled in. Modifications may also include creating windows that look like they belong to another program or positioning windowsanywhere on the screen.";
  700.    }
  701.  
  702.    static String targetUrl_BrowserAccess() {
  703.       return getTargetHelpUrl() + "#BrowserAccess";
  704.    }
  705.  
  706.    static String targetDesc_PrefsRead() {
  707.       return "Reading preferences settings";
  708.    }
  709.  
  710.    static String targetDetailDesc_PrefsRead() {
  711.       return "Access to read the current settings of your preferences.";
  712.    }
  713.  
  714.    static String targetUrl_PrefsRead() {
  715.       return getTargetHelpUrl() + "#PrefsRead";
  716.    }
  717.  
  718.    static String targetDesc_PrefsWrite() {
  719.       return "Modifying preferences settings";
  720.    }
  721.  
  722.    static String targetDetailDesc_PrefsWrite() {
  723.       return "Modifying the current settings of your preferences.";
  724.    }
  725.  
  726.    static String targetUrl_PrefsWrite() {
  727.       return getTargetHelpUrl() + "#PrefsWrite";
  728.    }
  729.  
  730.    static String targetDesc_SendMail() {
  731.       return "Sending email messages on your behalf";
  732.    }
  733.  
  734.    static String targetDetailDesc_SendMail() {
  735.       return "Sending email messages on your behalf";
  736.    }
  737.  
  738.    static String targetUrl_SendMail() {
  739.       return getTargetHelpUrl() + "#SendMail";
  740.    }
  741.  
  742.    static String targetDesc_RegPrivate() {
  743.       return "Access to the vendor's portion of your computer's registry of installed software";
  744.    }
  745.  
  746.    static String targetDetailDesc_RegPrivate() {
  747.       return "Most computers store information about installed software, such as version numbers, in a registry file. When you install new software, the installation program sometimes needs to read or change entries in the portion of the registry that describes the software vendor's products. You should grant this form of access only if you are installing new software from a reliable vendor. The entity that signs the software can access only that entity's portion of the registry.";
  748.    }
  749.  
  750.    static String targetUrl_RegPrivate() {
  751.       return getTargetHelpUrl() + "#RegPrivate";
  752.    }
  753.  
  754.    static String targetDesc_RegStandard() {
  755.       return "Access to shared information in the computer's registry of installed software";
  756.    }
  757.  
  758.    static String targetDetailDesc_RegStandard() {
  759.       return "Most computers store information about installed software, such as version numbers, in a registry file. This file also includes information shared by all programs installed on your computer, including information about the user or the system. Programs that have access to shared registry information can obtain information about other programs that have the same access. This allows programs that work closely together to get information about each other. You should grant this form of access only if you know that the program requesting it is designed to work with other programs on your hard disk.";
  760.    }
  761.  
  762.    static String targetUrl_RegStandard() {
  763.       return getTargetHelpUrl() + "#RegStandard";
  764.    }
  765.  
  766.    static String targetDesc_RegAdmin() {
  767.       return "Access to any part of your computer's registry of installed software";
  768.    }
  769.  
  770.    static String targetDetailDesc_RegAdmin() {
  771.       return "Most computers store information about installed software, such as version numbers, in a registry file. System administrators sometimes need to change entries in the registry for software from a variety of vendors. You should grant this form of access only if you are running software provided by your system administrator.";
  772.    }
  773.  
  774.    static String targetUrl_RegAdmin() {
  775.       return getTargetHelpUrl() + "#RegAdmin";
  776.    }
  777.  
  778.    static String targetDesc_SuperUser() {
  779.       return "Access to all Super User privileges";
  780.    }
  781.  
  782.    static String targetDetailDesc_SuperUser() {
  783.       return "Access to all Super User privileges";
  784.    }
  785.  
  786.    static String targetUrl_SuperUser() {
  787.       return getTargetHelpUrl() + "#SuperUser";
  788.    }
  789.  
  790.    static String targetDesc_30Capabilities() {
  791.       return "Access required by Navigator plug-ins and similar programs";
  792.    }
  793.  
  794.    static String targetDetailDesc_30Capabilities() {
  795.       return "Access required by plug-ins and other programs containing native code. This form of access is allowed automatically in Navigator 3.0 for code that is downloaded to your hard disk.";
  796.    }
  797.  
  798.    static String targetUrl_30Capabilities() {
  799.       return getTargetHelpUrl() + "#30Capabilities";
  800.    }
  801.  
  802.    static String targetDesc_SAR() {
  803.       return "Access to the site archive file";
  804.    }
  805.  
  806.    static String targetDetailDesc_SAR() {
  807.       return "Access required to add, modify, or delete site archive files and make arbitrary network connections in the process. This form of access is required only by netcasting applications such as Netscape Netcaster, which request it in combination with several other kinds of access. Applications should not normally request this access by itself, and you should not normally grant it.";
  808.    }
  809.  
  810.    static String targetUrl_SAR() {
  811.       return getTargetHelpUrl() + "#SiteArchive";
  812.    }
  813.  
  814.    static String targetDesc_Constellation() {
  815.       return "Access required by netcasting programs";
  816.    }
  817.  
  818.    static String targetDetailDesc_Constellation() {
  819.       return "Access required by programs, such as Netscape Netcaster, that allow users to receive information over Internet channels and work with network resources offline.";
  820.    }
  821.  
  822.    static String targetUrl_Constellation() {
  823.       return getTargetHelpUrl() + "#Netcaster";
  824.    }
  825.  
  826.    static String targetDesc_Marimba() {
  827.       return "Ability to run Marimba Castanet channels in their own applet sandbox with the extension that these channels may write to a part of the disk reserved for them and may find out the full path to the user profile directory.";
  828.    }
  829.  
  830.    static String targetDetailDesc_Marimba() {
  831.       return "Granting this target will allow the Marimba Castanet code to run. As part of running channels the Castanet code needs access to the hard-disk and the ability to connect to arbitrary network locations. It also needs to manipulate threads. Castanet channels run in a sandbox similar to untrusted applets except they can read/write to a part of the disk reserved for them separate from the rest of the disk.";
  832.    }
  833.  
  834.    static String targetUrl_Marimba() {
  835.       return getTargetHelpUrl() + "#Marimba";
  836.    }
  837.  
  838.    static String targetDesc_IIOP() {
  839.       return "Implementing IIOP remote object software";
  840.    }
  841.  
  842.    static String targetDetailDesc_IIOP() {
  843.       return "Internet Inter-ORB Protocol (IIOP) is an open industry standard for distributing objects. It is commonly used for programs, such as banking applications, that involve transferring information among different kinds of computer systems over a network. Granting this access permits Java code to implement IIOP on your computer and to access remote objects over a network. You should grant this access only if you are running a program, from a reliable IIOP vendor, that needs to connect with remote objects over a network.";
  844.    }
  845.  
  846.    static String targetUrl_IIOP() {
  847.       return getTargetHelpUrl() + "#IIOP";
  848.    }
  849.  
  850.    static String targetDesc_CodebaseEnv() {
  851.       return "Ability to read and modify properties associated an applet's code base.";
  852.    }
  853.  
  854.    static String targetDetailDesc_CodebaseEnv() {
  855.       return "Allows local code to store and retrieve objects from a table that is associated with the current applet's host of origin.";
  856.    }
  857.  
  858.    static String targetUrl_CodebaseEnv() {
  859.       return getTargetHelpUrl() + "#CodebaseEnv";
  860.    }
  861.  
  862.    static String targetDesc_Debugger() {
  863.       return "Access to the debugger";
  864.    }
  865.  
  866.    static String targetDetailDesc_Debugger() {
  867.       return "You should grant this access only if you are a professional programmer using debugging software from a reliable vendor.";
  868.    }
  869.  
  870.    static String targetUrl_Debugger() {
  871.       return getTargetHelpUrl() + "#Debugger";
  872.    }
  873.  
  874.    static String targetDesc_CanvasAccess() {
  875.       return "Displaying text or graphics anywhere on the screen";
  876.    }
  877.  
  878.    static String targetDetailDesc_CanvasAccess() {
  879.       return "Displaying HTML text or graphics on any part of the screen, without window borders, toolbars, or menus. Typically granted to invoke canvas mode, screen savers, and so on.";
  880.    }
  881.  
  882.    static String targetUrl_CanvasAccess() {
  883.       return getTargetHelpUrl() + "#CanvasAccess";
  884.    }
  885.  
  886.    static String targetDesc_FileAccess() {
  887.       return "Reading, modification, or deletion of any of your files";
  888.    }
  889.  
  890.    static String targetDetailDesc_FileAccess() {
  891.       return "This form of access is typically required by a program such as a word processor or a debugger that needs to create, read, modify, or delete files on hard disks or other storage media connected to your computer.";
  892.    }
  893.  
  894.    static String targetUrl_FileAccess() {
  895.       return getTargetHelpUrl() + "#FileAccess";
  896.    }
  897.  
  898.    static String targetDesc_GamesAccess() {
  899.       return "Limited registry access typically required by games";
  900.    }
  901.  
  902.    static String targetDetailDesc_GamesAccess() {
  903.       return "Reading and modification of a limited registry area as required by games to save scores";
  904.    }
  905.  
  906.    static String targetUrl_GamesAccess() {
  907.       return getTargetHelpUrl() + "#GamesAccess";
  908.    }
  909.  
  910.    static String targetDesc_WordProcessorAccess() {
  911.       return "File access typically required by word-processing programs";
  912.    }
  913.  
  914.    static String targetDetailDesc_WordProcessorAccess() {
  915.       return "Reading, modification, or deletion of any of your files, as required by word-processing programs.";
  916.    }
  917.  
  918.    static String targetUrl_WordProcessorAccess() {
  919.       return getTargetHelpUrl() + "#WordProcessorAccess";
  920.    }
  921.  
  922.    static String targetDesc_SpreadsheetAccess() {
  923.       return "File access typically required by spreadsheet programs";
  924.    }
  925.  
  926.    static String targetDetailDesc_SpreadsheetAccess() {
  927.       return "Reading, modification, or deletion of any of your files, as required by spreadsheet programs.";
  928.    }
  929.  
  930.    static String targetUrl_SpreadsheetAccess() {
  931.       return getTargetHelpUrl() + "#SpreadsheetAccess";
  932.    }
  933.  
  934.    static String targetDesc_PresentationAccess() {
  935.       return "File access typically required by presentation programs";
  936.    }
  937.  
  938.    static String targetDetailDesc_PresentationAccess() {
  939.       return "Reading, modification, or deletion of any of your files, as required by presentation programs.";
  940.    }
  941.  
  942.    static String targetUrl_PresentationAccess() {
  943.       return getTargetHelpUrl() + "#PresentationAccess";
  944.    }
  945.  
  946.    static String targetDesc_DatabaseAccess() {
  947.       return "File access typically required by database programs";
  948.    }
  949.  
  950.    static String targetDetailDesc_DatabaseAccess() {
  951.       return "Reading, modification, or deletion of any of your files, as required by database programs.";
  952.    }
  953.  
  954.    static String targetUrl_DatabaseAccess() {
  955.       return getTargetHelpUrl() + "#DatabaseAccess";
  956.    }
  957.  
  958.    static String targetDesc_TerminalEmulator() {
  959.       return "Access required by terminal emulators and other communications programs";
  960.    }
  961.  
  962.    static String targetDetailDesc_TerminalEmulator() {
  963.       return "Reading and writing files and establishing network connections. This form of access is required by terminal emulators such as the 3270 or VT100 emulator.";
  964.    }
  965.  
  966.    static String targetUrl_TerminalEmulator() {
  967.       return getTargetHelpUrl() + "#TerminalEmulator";
  968.    }
  969.  
  970.    static String targetDesc_JARPackager() {
  971.       return "Access needed to create, sign, and manipulate JAR files";
  972.    }
  973.  
  974.    static String targetDetailDesc_JARPackager() {
  975.       return "Access required to read and create files, in order to to sign and manipulate JAR container files";
  976.    }
  977.  
  978.    static String targetUrl_JARPackager() {
  979.       return getTargetHelpUrl() + "#JARPackager";
  980.    }
  981.  
  982.    static String targetDesc_AccountSetup() {
  983.       return "Access required to setup and configure your browser";
  984.    }
  985.  
  986.    static String targetDetailDesc_AccountSetup() {
  987.       return "Access to, and modification of, browser data, preferences, files, networking and modem configuration. This access is commonly granted to the main setup program for your browser.";
  988.    }
  989.  
  990.    static String targetUrl_AccountSetup() {
  991.       return getTargetHelpUrl() + "#AccountSetup";
  992.    }
  993.  
  994.    static String targetDesc_ParamFileRead() {
  995.       return "Reading a specific file on your hard disk";
  996.    }
  997.  
  998.    static String targetDetailDesc_ParamFileRead() {
  999.       return "Reading a specific file on your hard disk";
  1000.    }
  1001.  
  1002.    static String targetUrl_ParamFileRead() {
  1003.       return getTargetHelpUrl() + "#ParamFileRead";
  1004.    }
  1005.  
  1006.    static String targetDesc_ParamFileWrite() {
  1007.       return "Modifying a specific file on your hard disk";
  1008.    }
  1009.  
  1010.    static String targetDetailDesc_ParamFileWrite() {
  1011.       return "Modifying a specific file on your hard disk";
  1012.    }
  1013.  
  1014.    static String targetUrl_ParamFileWrite() {
  1015.       return getTargetHelpUrl() + "#ParamFileWrite";
  1016.    }
  1017. }
  1018.