2025-04-27 07:49:33 -04:00

116 lines
3.7 KiB
HTML

<html dir=ltr><head><title>Change Access Restrictions (chaccess)</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT>
<meta name="description" content="This topic contains conceptual and procedural information about the Change Access Restrictions (chaccess) administration script.">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Verdana,Arial,Helvetica">
<h1 ALIGN="left">Change Access Restrictions (chaccess)</h1>
<p><strong>Summary:</strong></p>
<p>Changes the type of access allowed at a given node, on a set of specified computers. You can use this to control whether a directory, virtual directory, or file has read or execute attributes, for example.</p>
<p><strong>Usage:</strong></p>
<table cellspacing="2" cellpadding="5">
<tr>
<td valign="TOP">chaccess</td> <td>-a ADSPATH -computer|-c COMPUTER1, COMPUTER2,...<br>
[+read|-read]<br>
[+write|-write]<br>
[+script|-script]<br>
[+execute|-execute]<br>
[+browse|-browse]<br>
[-verbose|-v]<br>
[--help|-?]</td>
</tr>
</table>
<p><strong>Parameters:</strong></p>
<table cellspacing="2" cellpadding="5">
<tr>
<td valign="TOP">-a ADSPATH</td> <td>Machine relative path name.For example <em>-a w3svc/1</em></td>
</tr>
<tr>
<td valign="TOP">-Computer</td> <td>Comma-separated list of computers on which to make the change. For example -c Machine1,Machine2,Machine3. Note that this assumes that the specified path exists on all specified computers. If no computer is specified, LocalHost is assumed.</td>
</tr>
<tr>
<td>+-write</td> <td>Turns on/off write permissions for this node.</td>
</tr>
<tr>
<td>+-script</td> <td>Turns on/off script permissions for this node.</td>
</tr>
<tr>
<td>+-execute</td> <td>Turns on/off exectue permissions for this node.</td>
</tr>
<tr>
<td>+-browse</td> <td>Turns on/off directory browsing for this node.</td>
</tr>
<tr>
<td>-verbose</td> <td>Print status information during processing.</td>
</tr>
</table>
<p><STRONG>Examples:</STRONG></p>
<p>chaccess -a w3svc/1/ROOT +read -write +script +browse</p>
<p>chaccess -c MACHINE1,MACHINE2 -a w3svc/1/ROOT +read -write +script +browse</p>
<hr class="iis" size="1">
<p align="center"><em><a href="/iishelp/common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</font>
</body>
</html>