WshShell Access
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > WshShell Access




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    WshShell Access  
Andrew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-04 07:57 AM

What permisions do I need to enable to allow the IUSR_ to
execute a command line program in IIS 6?
Eg, "cmd /c dir"
This works when logged onto web site as administrator but
not anonymously?

--Andrew





[ Post a follow-up to this message ]



    Re: WshShell Access  
Bernard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-04 01:01 PM

It's bad idea to do this.
anyway, have you try grant iusr / iis_wpg read and execute permissions ?

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Andrew" <anonymous@discussions.microsoft.com> wrote in message
news:4a0e01c4739a$eeeb91b0$a601280a@phx.gbl...
> What permisions do I need to enable to allow the IUSR_ to
> execute a command line program in IIS 6?
> Eg, "cmd /c dir"
> This works when logged onto web site as administrator but
> not anonymously?
>
> --Andrew







[ Post a follow-up to this message ]



    Re: WshShell Access  
Paul Lynch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-04 01:01 PM

On Mon, 26 Jul 2004 22:31:14 -0700, "Andrew"
<anonymous@discussions.microsoft.com> wrote:

>What permisions do I need to enable to allow the IUSR_ to
>execute a command line program in IIS 6?
>Eg, "cmd /c dir"
>This works when logged onto web site as administrator but
>not anonymously?
>
>--Andrew

Andrew,

By default the IUSR account in IIS6 does not have access to files in
the %windir%\System32 folder.

PRB: IIS 6.0: CGI Code That Calls External Applications May Fail
http://support.microsoft.com/?id=311481


Regards,

Paul Lynch
MCSE





[ Post a follow-up to this message ]



    Re: WshShell Access  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 01:55 AM


>-----Original Message-----
>On Mon, 26 Jul 2004 22:31:14 -0700, "Andrew"
><anonymous@discussions.microsoft.com> wrote:
> 
to[vbcol=seagreen] 
but[vbcol=seagreen] 
>
>Andrew,
>
>By default the IUSR account in IIS6 does not have access
to files in
>the %windir%\System32 folder.
>
>PRB: IIS 6.0: CGI Code That Calls External Applications
May Fail
>http://support.microsoft.com/?id=311481
>
>
>Regards,
>
>Paul Lynch
>MCSE
>.
>

Thanks for the link, turns out that when I set the
permissions they were not always inherited from the top
level dir! I suppose I should have told it to replace
permissions on all files and subfolders etc! It's working
now.

-Andrew





[ Post a follow-up to this message ]



    Re: WshShell Access  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 01:55 AM

I know, I always like to avoid it, but my client insists
on using it!
It turns out while I had the correct permissions, they
weren't being inherited from top level dirs. Thanks for
the info!

-- Andrew

>-----Original Message-----
>It's bad idea to do this.
>anyway, have you try grant iusr / iis_wpg read and
execute permissions ?
>
>--
>Regards,
>Bernard Cheah
>http://www.tryiis.com/
>http://support.microsoft.com/
>http://www.msmvps.com/bernard/
>
>
>
>"Andrew" <anonymous@discussions.microsoft.com> wrote in
message
>news:4a0e01c4739a$eeeb91b0$a601280a@phx.gbl... 
to[vbcol=seagreen] 
but[vbcol=seagreen] 
>
>
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:17 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register