home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2006 May / PCpro_2006_05.ISO / files / free_security / msshared / Shared_Computer_Toolkit_ENU.msi / FileWinRestriction < prev    next >
Encoding:
Text File  |  2005-09-02  |  10.2 KB  |  184 lines

  1. ∩╗┐<html xmlns:ssw>
  2. <head>
  3. <META http-equiv="Content-Type" content="text/html; charset=utf-8" >
  4.     <!--
  5.     ' ***
  6.     ' *** ------------------------------------------------------------------------------
  7.     ' *** Filename:        Restrict.hta
  8.     ' *** ------------------------------------------------------------------------------
  9.     ' *** Description:    User Restrictions Tool
  10.  
  11.     ' *** ------------------------------------------------------------------------------
  12.     ' *** Version:        1.0
  13.     ' *** Notes:        
  14.     ' *** ------------------------------------------------------------------------------
  15.     ' *** Copyright (C) Microsoft Corporation 2005, All Rights Reserved
  16.     ' *** ------------------------------------------------------------------------------
  17.     ' ***
  18.     -->
  19.     <title> </title>
  20.  
  21.     <?import namespace="ssw" implementation="include/checkbox.htc">
  22.  
  23.     <script id="Common" language="VBScript" src="include/Common.vbs"></script>    
  24.     <script id="libHTA" language="vbscript" src="include/libHTA.vbs"></script>
  25.     <script id="clsLogging" language="vbscript" src="include/clsLogging.vbs"></script>
  26.     <script id="clsRestrictions" language="vbscript" src="include/clsRestrictions.vbs"></script>
  27.     <script id="Restrictions" language="vbscript" src="include/Restrictions.vbs"></script>
  28.  
  29.     <link rel="stylesheet"                type="text/css" href="css/hta.css">
  30.  
  31.     <meta name=vs_targetSchema            content="http://schemas.microsoft.com/intellisense/ie5">
  32.     <meta name=vs_defaultClientScript    content="VBScript">
  33.  
  34.     <hta:application ID="oImagine"
  35.         APPLICATIONNAME="WinRestrictions"
  36.         CAPTION="yes"
  37.         CONTEXTMENU="yes"
  38.         BORDER="dialog"
  39.         ICON="graphics/Restrict.ico"
  40.         INNERBORDER="no"
  41.         MAXIMIZEBUTTON="no"
  42.         MINIMIZEBUTTON="yes"
  43.         NAVIGABLE="no"
  44.         SCROLL="no"
  45.         SELECTION="no"
  46.         SHOWINTASKBAR="yes"
  47.         SINGLEINSTANCE="yes"
  48.         SYSMENU="yes"
  49.         VERSION="1.00"
  50.         WINDOWSTATE="normal" />
  51.  
  52.     <!-- settings and resources -->
  53.     <div id="settings" style="display:none">
  54.         <p id="appTitle">User Restrictions</p>
  55.         <p id="resAction1">Processing Restrictions For User :</p>
  56.         <p id="resAction2">Restrictions Processing Complete</p>
  57.         <p id="resErrorLoadingUser">Error opening user account, please select a different account.</p>
  58.         <p id="resChangeProfile">Do you want to apply the changes made to the existing profile?</p>
  59.         <p id="resLogoffError">Enter numeric values only.</p>
  60.         <p id="resLockError">Cannot lock profile! Close any profile folders being accessed through Windows Explorer or the command prompt before you attempt to lock the profile.</p>
  61.         <p id="resAppliedChanges">has been modified successfully.</p>
  62.         <p id="popLockMessage">Select the <b>Lock this profile</b> check box to prevent users from changing the profile.</p>
  63.         <p id="popRestrictMessage">Select the <b>Recommended Restrictions</b> check box to select the default restrictions recommended for shared accounts.</p>
  64.         <p id="resLowLevelRestrict">It is highly recommended that you select all of the Recommended Restrictions for Shared Accounts.</p>
  65.         <p id="resAllRestrict">It is highly recommended that you keep all of the Recommended Restrictions for Shared Accounts. Only advanced operators should remove recommended restrictions.</p>
  66.         <p id="resLowLevelRestrict2">Are you sure you want to select this setting?</p>
  67.         <p id="resAllRestrict2">Are you sure you want to clear this setting?</p>
  68.         <p id="resAdvOperator">Advanced Operators Only</p>
  69.         <p id="resUserLogonError">The currently selected profile is logged on through fast user switching. Logoff the user to apply restrictions.</p>
  70.         <p id="resUserNoProfileError">The profile does not exist for this user. Create profile to apply restrictions.</p>
  71.         <p id="resLockAgainMessage">This account was previously locked. Select the <b>Lock this profile</b> check box to prevent users from changing the profile.</p>
  72.         <p id="resNegativeLogoffValue">Enter positive values only</p>
  73.         <p id="resLessLogoffUseValue">Logoff after use value cannot be less than the logoff idle value</p>
  74.         <p id="resMoreLogoffIdleValue">Logoff idle value cannot be greater than logoff after use value</p>
  75.         <p id="resLockOrigDelete">Previously locked profile folder exists. Do you wish to use the same folder for locking this profile?</p>
  76.         <p id="resFAT32LockProfile">The profile exists in a drive that is not a NTFS file system. Profile locking is available only in NTFS.</p>
  77.         <p id="resLockProfileTooltip">A locked profile cannot be permanently changed by users.</p>
  78.         
  79.         <span id="popupBackgroundColor">darkgreen</span>
  80.         <span id="popupColor">ghostwhite</span>
  81.         <span id="popupBorder">solid white 0</span>
  82.         <span id="popupPadding">.18em</span>
  83.         <span id="popBodyFont">normal normal normal 14px Verdana</span>
  84.         <span id="LockAgainpopupBackground">firebrick</span>
  85.         
  86.         <span id="resAdminOnly">YES</span>
  87.         <span id="resWGAOnly">YES</span>
  88.         <span id="resDomainWarning">YES</span>
  89.         <span id="resCloseButton">NO</span>
  90.     </div>
  91. </head>
  92.  
  93. <body id="oBody" onload="Main()" OnUnload = "Unload()" Onkeydown = "Onkeydown()" onclick="BodyOnclick()" STYLE="cursor:wait;" OnBeforeUnload="OnBeforeUnload()">
  94.     
  95.     <TABLE ID=oHeader style="margin-bottom:.3em"><TR >
  96.         <COL width="2%">
  97.         <COL width="94%">
  98.         <COL width="4%">
  99.         <TD><IMG id="logo" height="30px" src="graphics/sswlogo.gif"></TD>
  100.         <TD><b><p id="title">Microsoft Shared Computer Toolkit for Windows XP</P><b></TD>
  101.         <td valign=top><button id=btnHelp ATOMICSELECTION=True Title="Help (F1)" onclick="ShowHelp" onmouseover="Highlight btnHelp, True" onmouseout="Highlight btnHelp, False"><img align="absmiddle" src="graphics/help1.gif" alt="Help (F1)"> </button></td>
  102.     </TR></TABLE>
  103.     
  104.     <!-- application pages -->     
  105.      <div id="oDiv" class="div3D" style="margin-bottom:.3em;width:55em;height=30em;display:block;overflow-y:hidden">
  106.         <!-- Accounts Drop Down -->
  107.         <p><button type=button class=normal style="width:24.2%" id="btnSelectProfile" onclick="SelectProfile()"><ID id="_locSelectProfile">Select a Profile...</ID></button>
  108.               <input id="txtAccount" type="text" TABINDEX=-1 style="width:36%"></p>
  109.         <HR>
  110.  
  111.         <DIV id="divGeneralSettings" OnScroll="DivScroll()" style="display:block;height:89%;overflow:visible;overflow-y:scroll">        
  112.  
  113.         <table border="0" cellpadding="0" cellspacing=".2em" id="tAccounts" style="table-layout:fixed;">
  114.             <COL Width="25%">
  115.             <COL Width="36%">
  116.             <COL Width="2%">
  117.             <COL Width="35%"> 
  118.                    <tr>
  119.                        <td id="_locGeneralSettings" colspan="2"><b>General Settings</b></td>
  120.                 <td></td>
  121.                        <td><ssw:checkbox tabindex = 0 id="chkPlacesBar" style="display:none" /></td>    
  122.                    </tr>
  123.             <tr>
  124.                 <td id="_locHomePage" TITLE="Sets the home page used by Internet Explorer">Home Page:</td>
  125.                 <td><input id="txtHomePage" type="text" style="width:100%" NAME="txtHomePage" onChange = "Change_value()"></td>
  126.                 <td></td>
  127.                 <td id="_locProxy" TITLE="Sets the Proxy server used by Internet Explorer">Proxy: <input id="txtProxy" type="text" style="width:76%" NAME="txtProxy" onChange = "Change_value()"></td>
  128.             </tr>
  129.             <tr>
  130.                 <td id="_locProxyOverride" TITLE="List of semi-colon (;) delimited addresses that will bypass the proxy server. Include <local> to have all local addresses bypass the proxy server.">Proxy Exceptions: </TD>
  131.                 <td colspan="3"><input id="txtProxyOverride" type="text" style="width:98%" NAME="txtProxyOverride" onChange = "Change_value()"></td>
  132.             </tr>
  133.             <tr><td colspan="4" style="height:.8em"></td></tr>
  134.             <tr>
  135.                 <td id="_locTimeRestrict">Session Timers:</td>
  136.                 <td id="_locLogoffMand" TITLE="Mandatory logoff timer">Log off after <input id="txtLogoffMinsUse" Title = "Mandatory logoff timer must be at least five minutes" type="text" style="width:10%;" NAME="txtLogoffMinsUse" OnBeforeDeactivate = "Validate_use()"> minutes of use</td>
  137.                 <td></td>
  138.                 <td><ID id="_locPreventDrive" TITLE="Restrict access to drives in My Computer">Restrict Drives in My Computer:</ID></td>
  139.             </tr>
  140.             <tr>
  141.                 <td></td>
  142.                 <td id="_locLogoffIdle" TITLE="Idle logoff timer">Log off after <input id="txtLogoffInactive" Title = "Idle logoff timer must be at least one minute" type="text" style="width:10%;" OnBeforeDeactivate = "Validate_idle()"> minutes idle</td>
  143.                 <td></td>
  144.                 <td>
  145.                     <input type="hidden" id="txtAccessDisks">
  146.                     <button type="button" class=normal id="btnAccessDisks" TITLE="Prevent access to drives in My Computer" style="width:96%" onclick="DrivesPopup()"><ID id="_locSelectDrives">Select Drives to Restrict...</ID></button>
  147.                 </td>
  148.             </tr>
  149.             <tr><td colspan="4" style="height:.8em"></td></tr>
  150.             <tr>
  151.                 <td><label id="spchkSharedAccount" For="chkSharedAccount">Lock this profile:</label></td>
  152.                 <td><ssw:checkbox tabindex=0 id="chkSharedAccount" onResultChange="Change_value()"/></td>
  153.                 <td></td>
  154.                 <td><label id="_locchkForceRestart" for="chkForceRestart" TITLE="Click here to restart the computer when this account is logged off">Restart at Logoff:</label>  <ssw:checkbox tabindex=0 id="chkForceRestart" onResultChange="Change_value()" /></td>
  155.             </tr>
  156.         </table>
  157.  
  158.         <hr id="tdHorzRule3" style="margin-right:1em">  
  159.         
  160.         <!-- Restrictions -->
  161.  
  162.         <ssw:checkbox id="chkRestrictions" tabindex=0 onResultChange="Javascript:Bubble(this)" /> 
  163.         <LABEL id="_locAllRestrictions" for="chkRestrictions"><B>Recommended Restrictions for Shared Accounts</B></LABEL>     
  164.         
  165.         <div id="divRestrictions" style="padding-left:1.7em; display:block"></div>
  166.  
  167.         <p id="_locOptRestrictions" style="margin-top:.5em;"><B>Optional Restrictions</B></p>
  168.             <div id="divOptRestrictions" style="padding-left:1.7em;display:block"></div>
  169.         </DIV>                                    
  170.  
  171.     </div>
  172.  
  173.      <!-- Footer -->
  174.     <TABLE id=oFooter style="height:2em"><tr>
  175.         <COL width="95%">
  176.         <COL width="5%">
  177.         <td></td>
  178.         <td><button id=btnApply ATOMICSELECTION=True Title="Apply selections" onclick="Apply()" onmouseover="Highlight btnApply, True" onmouseout="Highlight btnApply, False"><img align="absmiddle" src="graphics/yellow1.gif">  Apply</button>  
  179.             <button id=btnFinish ATOMICSELECTION=True Title="Apply selections and close this tool" onclick="Submit()" onmouseover="Highlight btnFinish,True" onmouseout="Highlight btnFinish, False"><img align="absmiddle" src="graphics/green1.gif">  OK</button></td>
  180.     </tr></TABLE>
  181.  
  182. </body>
  183. </html>
  184.