Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Access to winnt\system32 outside of my document-root

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Actinic Catalogue  
Author Message
leoel

External


Since: Sep 10, 2003
Posts: 2



(Msg. 1) Posted: Wed Sep 10, 2003 10:16 am
Post subject: Access to winnt\system32 outside of my document-root
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi!

I'm a totally IIS Newbie: I have a Python-CGI Script installed, which
needs to execute a "diff" command. This is done by the Python-Call
popen(...). Unforunatly Python uses internally always the string
"C:\\WINNT\\system32\\cmd.exe /c diff -u <file_1> <file_2>". If I
execute the python-Script from command-line, everything works fine.
Diff is installed.

My Problem now is, that i always get the error: "access denied (5)" as
the return of my python script. Can it be, that the IIS is not allowed
to execute programs outside of the webroot in its default
configuration? If yes, how can I configure the IIS in order to have
access to winnt\system32? IF no, why can't i execute cmd.exe?

IIS-Version: 5.0

Thanks, Leo

 >> Stay informed about: Access to winntsystem32 outside of my document-root 
Back to top
Login to vote
timcof

External


Since: Sep 02, 2003
Posts: 912



(Msg. 2) Posted: Mon Sep 15, 2003 12:54 pm
Post subject: RE: Access to winnt\system32 outside of my document-root [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you have URLSCAN installed, then it is denying this. Check to see if the filter is loaded in the master properties of IIS. If not, then
run filemon and regmon from www.sysinternals.com and see what is being denied access, and where, when you repro the issue.

Thank you. I hope this information is helpful.

Tim Coffey [MSFT]

This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft
Corporation. All rights reserved.
--------------------
| From: leoel DeleteThis @gmx.at (Leo)
| Newsgroups: microsoft.public.inetserver.iis
| Subject: Access to winnt\system32 outside of my document-root
| Date: 10 Sep 2003 07:16:15 -0700
| Organization: http://groups.google.com/
| Lines: 18
| Message-ID: <2a8c4fb2.0309100616.4cf28990 DeleteThis @posting.google.com>
| NNTP-Posting-Host: 213.229.30.234
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1063203376 3302 127.0.0.1 (10 Sep 2003 14:16:16 GMT)
| X-Complaints-To: groups-abuse DeleteThis @google.com
| NNTP-Posting-Date: 10 Sep 2003 14:16:16 GMT
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newspeer1-
gui.server.ntli.net!ntli.net!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:274868
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| Hi!
|
| I'm a totally IIS Newbie: I have a Python-CGI Script installed, which
| needs to execute a "diff" command. This is done by the Python-Call
| popen(...). Unforunatly Python uses internally always the string
| "C:\\WINNT\\system32\\cmd.exe /c diff -u <file_1> <file_2>". If I
| execute the python-Script from command-line, everything works fine.
| Diff is installed.
|
| My Problem now is, that i always get the error: "access denied (5)" as
| the return of my python script. Can it be, that the IIS is not allowed
| to execute programs outside of the webroot in its default
| configuration? If yes, how can I configure the IIS in order to have
| access to winnt\system32? IF no, why can't i execute cmd.exe?
|
| IIS-Version: 5.0
|
| Thanks, Leo
|

 >> Stay informed about: Access to winntsystem32 outside of my document-root 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Strange problem opening excel document from Web - I have created a web page on IIS that allows folder browsing open to all users (just for testing). The problem is when opening an Excel document from the site, the document opens in Excel with the workbook name of "Book1" and not the actua...

help creating a virtual root across a firewall - I'm trying to create a virtual root between my IIS box and my application server, but my application server is behind a firewall. What port(s) do I need to open in order to do this? 139?

iis asp and access - Running Windows XP Pro. Have IIS 5.1 running. I am able to run the ASP and it in turn is accessing a DLL which in turn accesses an Access database (or is supposed to). The DLL is running but get an error accessing the database. I've read much about..

cannot access FSO - Hi all, old system: Win NT 4, IIS 4, SiteServer 3... anyway, I cannot access FileSystemObject. simple code: <% Set fs = CreateObject("Scripting.FileSystemObject") Set wfile = fs.OpenTextFile("c:\myfile.txt") filecontent = wfi...

frontpage iis access - I have a SBS 2K with FrontPage installed. I cannnot add a web page as I always get "this action requires end-user permission avserver:80." I've reset permisisons on iis and I am the administraotr. Using administravtive privelages does not wo...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]