Thanks for all your help - I should have mentioned though, that the script is located in a directory which I have given Integrated Windows Authentication only, which is why I'm flummoxed.

A

UPDATE:
I found this : HOW TO: Access Network Files From IIS Applications, which has pointed me in the right direction. I've set up my own user account as the anonymous access account and have been able to run my CGI script successfully.

My only problem is, that when my CGI script invokes a second Perl script, this script is unable to access the share.

Is there a way to pass on the user ID I've set up in IIS? Or is there a way my second script can run under a specified user ID? Can I do this from within Perl?

A

In reply to Re: Re: Windows Share Access from CGI Script by qadwjoh
in thread Windows Share Access from CGI Script by qadwjoh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.