259 lines
9.0 KiB
HTML
259 lines
9.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
|
|
<TITLE>AccessFlags</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="Internet Information Services reference information">
|
|
<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">
|
|
|
|
<H3><A NAME="_k2_accessflags"></A><SUP></SUP>AccessFlags</H3>
|
|
|
|
<P>This single property contains the following file access permission flags:</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro2an9.htm"><B>AccessExecute</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro6grp.htm"><B>AccessNoRemoteWrite</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro1xb9.htm"><B>AccessNoRemoteExecute</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5wv8.htm"><B>AccessRead</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5jj8.htm"><B>AccessNoRemoteRead</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro0i5w.htm"><B>AccessScript</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro3gtw.htm"><B>AccessNoRemoteScript</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro063p.htm"><B>AccessWrite</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro39d1.htm"><B>AccessSource</B></A></TD>
|
|
<TD width=50%> </TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<P>Permissions established by setting <B>AccessExecute</B>, <B>AccessScript</B>, <B>AccessNoRemoteExecute</B>, and <B>AccessNoRemoteScript </B>flags to TRUE do not apply to FTP server files.</P>
|
|
|
|
<P><span class=le><B>CAUTION </B></span>Setting both write<I> </I>and execute permissions can be dangerous, because it allows users to modify internal files and run potentially damaging scripts on the system.</P>
|
|
|
|
<P>Remote access flags are operative only when the corresponding general access flag is set. For example, setting <B>AccessNoRemoteRead</B> has no effect unless <B>AccessRead</B> is set as well. If both are set, the local host can read the file; however, the remote client cannot read the file.</P>
|
|
|
|
<P>The <B>AccessSource</B> flag, if set, grants source access to clients, using the HTTP extensions described by the Web Distributed Authoring and Versioning (WebDAV) standard. For more information on WebDAV, see the <a href="http://www.microsoft.com/isapi/redir.dll?prd=external&sbp=webdav&pver=1.0&ar=ietforg" target=_blank><b>WWW Distributed Authoring and Versioning</b></a> Web site and the <A HREF="..\core\wcwbdav.htm"><B>WebDAV Publishing</B></A> documentation.</P>
|
|
|
|
<P><span class=le><B>Note </B></span>All permissions are applicable to Web services, servers, directories, and files. Only the <B>AccessRead</B> and <B>AccessWrite</B> permissions are applicable for the FTP services, FTP servers, and FTP directories.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=43%>Data type</TD>
|
|
<TD width=57%>Long</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=43%>Default value</TD>
|
|
<TD width=57%><B>AccessRead</B> = TRUE</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=43%>Inheritance</TD>
|
|
<TD width=57%>Inheritable</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Access Locations</H6>
|
|
|
|
<P>This property is accessible at the following locations:</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=50%><B>Metabase Path</B></TD>
|
|
<TD class=blue width=50%><B>Key Type</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/MSFTPSVC</TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore32n9.htm"><B>IIsFtpService</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/MSFTPSVC/<I>N</I> </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore43si.htm"><B>IIsFtpServer</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/MSFTPSVC/<I>N</I>/ROOT </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore20mq.htm"><B>IIsFtpVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/MSFTPSVC/<I>N</I>/ROOT/<I>FtpVirtualDir</I> </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore20mq.htm"><B>IIsFtpVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC</TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1p5x.htm"><B>IIsWebService</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I> </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore7zn6.htm"><B>IIsWebServer</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I> </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I>/<I>WebDirectory</I> </TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1jw9.htm"><B>IIsWebDirectory</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I>/<I>WebDirectory</I>/<I>WebFile</I></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore136t.htm"><B>IIsWebFile</B></A></TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>IIS Admin Base Object Information</H6>
|
|
|
|
<P>The following tables list additional information required only for code that uses the IIS Admin Base Object.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=52%>Metabase identifier</TD>
|
|
<TD width=48%><B>MD_ACCESS_PERM</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=52%>Default bitmask setting</TD>
|
|
<TD width=48%><B>MD_ACCESS_READ</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=52%>User type</TD>
|
|
<TD width=48%><B>IIS_MD_UT_FILE</B></TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Bitmask Values</H6>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=3 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=50%><B>Constant</B></TD>
|
|
<TD class=blue width=18%><B>Value</B></TD>
|
|
<TD class=blue width=32%><B>Description</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_READ</B></TD>
|
|
<TD width=18%>0x00000001</TD>
|
|
<TD width=32%>Allow read access.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_WRITE</B></TD>
|
|
<TD width=18%>0x00000002</TD>
|
|
<TD width=32%>Allow write access.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_EXECUTE</B></TD>
|
|
<TD width=18%>0x00000004</TD>
|
|
<TD width=32%>Allow file execution (includes script permission).</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_SOURCE</B></TD>
|
|
<TD width=18%>0x00000010</TD>
|
|
<TD width=32%>Allow source access.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_SCRIPT</B></TD>
|
|
<TD width=18%>0x00000200</TD>
|
|
<TD width=32%>Allow script execution.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_NO_REMOTE_WRITE</B></TD>
|
|
<TD width=18%>0x00000400</TD>
|
|
<TD width=32%>Local write access only.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_NO_REMOTE_READ</B></TD>
|
|
<TD width=18%>0x00001000</TD>
|
|
<TD width=32%>Local read access only.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_NO_REMOTE_EXECUTE</B></TD>
|
|
<TD width=18%>0x00002000</TD>
|
|
<TD width=32%>Local execution only.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_ACCESS_NO_REMOTE_SCRIPT</B></TD>
|
|
<TD width=18%>0x00004000</TD>
|
|
<TD width=32%>Local host access only.</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
<hr class="iis" size="1">
|
|
<p align="center"><em><a href="../../../common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
|
|
</BODY>
|
|
</HTML>
|