The Read permission in IIS is similar to the Read permission bit for files in Apache/UNIX. The Write permission in IIS is used only when you are using Active Server Page (ASP) scripts or Web Distributed Authoring and Versioning (WebDAV) to provide update functionality for a file; therefore, this permission is similar to the Write permission in Apache/UNIX for WebDAV only. The Execute permission in UNIX that is combined with the AddHandler directive indicates to Apache that a particular file is a script that should be run and not returned as a raw file. In IIS, Execute permissions are granted on a Web site basis or a folder basis only; you cannot enable or disable individual files as scripts in this way. However, the extension/handler combination does apply. You grant Execute permissions for a folder, and then associate an extension with a specific scripting engine.
This behavior has limitations. For example, you cannot use a blanket .cgi file name extension and rely on the UNIX header line to select the corresponding scripting language. This limitation may cause problems during migration. In this situation, you can associate the .pl file name extension for Perl scripts the .py file name extension for Python scripts.
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Right-click the Web site that you want to configure in the left pane, and then click Properties.
- If you want to set the permissions for a Web site's home folder, click the Home Directory tab.
- If you want to set the permissions for a folder in a Web site, click the Directory tab.
- If you want to set the permissions for a file or a script in a folder, click the File tab.
- Click the corresponding permissions that you want to set for the object.
- To turn on script processing for a Web site or folder, click Scripts Only from the Execute permissions list.
To turn off script processing, click None.
- Click OK.
ID articol: 324068 - Ultima examinare: 21 nov. 2006 - Revizie: 1