Re: Programmatically accessing individual file security configuration

From: Jerry III (jerryiii_at_hotmail.com)
Date: 12/19/03

  • Next message: NK: "Map folder to drive letter instead of partitioning disk"
    Date: Thu, 18 Dec 2003 18:38:12 -0800
    
    

    What are you asking? There is a way to do this with ADSI, WMI and even some
    other means (like changing the metabase yourself). The fact that you're
    suggesting those seems to imply that you know how to use them, so do it. The
    "key" is the path to the file, in a web context, such as this:

    W3SVC/1/Root/vdir/leadnote.asmx

    Use your favorite technology to set metabase properties you need.

    Jerry

    "David Miller" <dmiller@crowechizek.com> wrote in message
    news:fb6842a.0312181440.1085c7c1@posting.google.com...
    > I currently have a manual process as a part of an install that I'm
    > trying to automate. Is there any way to do the following to an
    > individual FILE within a virtual directory through ADSI, WMI, or some
    > other means (ie. Win32 API's)?
    >
    > a. Run Start-Programs-Administrative Tools-Internet Services Manager
    > b. Double click the server name to expand the server web sites.
    > c. Double click the Default web site to expand it
    > d. Double click the virtual directory folder to expand it.
    > e. In the right pane, right click leadnote.asmx
    > f. Click the file security tab.
    > g. In the Anonymous access and authentication control section, click
    > the edit button
    > h. Check basic authentication. Make sure all other options are
    > unchecked.
    > i. Click the OK button.
    > j. In the secure communications section, click the Edit button.
    > k. Uncheck Require Secure Channel.
    > l. Click OK.
    > m. Click OK.
    > n. Close Internet Services Manager.
    >
    > Any help (especially sample code) would be GREATLY appreaciated!
    >
    > Dave


  • Next message: NK: "Map folder to drive letter instead of partitioning disk"