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

Web Service Extension for EXE's ?

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  FTP server  
Author Message
user770

External


Since: Sep 11, 2003
Posts: 6



(Msg. 1) Posted: Thu Sep 11, 2003 8:49 pm
Post subject: Web Service Extension for EXE's ?
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have my EXE's running on their websites on my server because I allowed
ALL unknown CGI's. I know it is much better to just allow the one
extension I actually use.

I tried to add "exe" as an extension but WSE wants to know what the
required files are, and since exe's unlike pl, php, asp, etc. doesn't
use an interpreter other than Windows itself, I don't know what to put
here or how to do it. I considered adding CMD.EXe but not sure about that.

Thanks.

 >> Stay informed about: Web Service Extension for EXE's ? 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Fri Sep 12, 2003 1:58 am
Post subject: Re: Web Service Extension for EXE's ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Do not try to add "exe" as an extension because that's adding a
Scriptmapping, which is not what you're trying to do. Go to the top node of
the configuration UI, at the Web Sites/AppPools level, you should see Web
Service Extensions.

Read the documentation from the F1 help in the IIS Manager UI for
step-by-step instructions and troubleshooting.

i.e. If the EXE you are allowing to run are
C:\scripts\MyExe1.exe
C:\scripts\MyExe2.exe
C:\otherscripts\MyExe3.exe

Then in Web Service Extensions you would have
- Deny execute to all CGI except...
- Allow C:\scripts\MyExe1.exe
- Allow C:\scripts\MyExe2.exe
- Allow C:\otherscripts\MyExe3.exe


In the case of Perl/PHP, you would have:
- Deny execute to all CGI except...
- C:\Perl\Perl.exe
- C:\PHP\PHP.EXE


--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Richard Grossman" <rgrossmanDELETE-THIS-PART.TakeThisOut@techIII.com> wrote in message
news:%23vPuIfMeDHA.1712@TK2MSFTNGP09.phx.gbl...
I have my EXE's running on their websites on my server because I allowed
ALL unknown CGI's. I know it is much better to just allow the one
extension I actually use.

I tried to add "exe" as an extension but WSE wants to know what the
required files are, and since exe's unlike pl, php, asp, etc. doesn't
use an interpreter other than Windows itself, I don't know what to put
here or how to do it. I considered adding CMD.EXe but not sure about that.

Thanks.

 >> Stay informed about: Web Service Extension for EXE's ? 
Back to top
Login to vote
user770

External


Since: Sep 11, 2003
Posts: 6



(Msg. 3) Posted: Fri Sep 12, 2003 4:23 pm
Post subject: Re: Web Service Extension for EXE's ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David Wang [Msft] wrote:
 > Then in Web Service Extensions you would have
 > - Deny execute to all CGI except...
 > - Allow C:\scripts\MyExe1.exe
 > - Allow C:\scripts\MyExe2.exe
 > - Allow C:\otherscripts\MyExe3.exe

The problem I see with this approach is that in my case the exe's are
individual per website. If there was a way, I would prefer to enable
all exe's (*.exe) but not allow all cgi's.

Or in IIS does CGI = exe (either directly or allowing scripts that are
filtered by an exe such as perl & php).

FYI, I don't use much perl except where it is left over from old sites,
and I don't use PHP. My exe's are exe's that I'm testing prior to
recompiling as DLL's.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Web Service Extension for EXE's ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Perl and Web service extension - Can anyone give me a walkthrough on how to configure the web service extension for PERL. Thanks, Frank spam@powerhouselinux.com

frontpage extension problems - I have setup a new Server 2003 system w/IIS6. I was unable to migrate my websites from my old NT4.0 / IIS system (which had fp2002 extensions on it). The IIS configuration file became corrupt. So I copied the files to my new system, configured the ..

Mapping an application extension in IIS under Windows XP Pro - We are trying to add an ISAPI application to an XP Pro machine. I go to the Properties page for the web site and click the 'Configuration' button on the 'Home Directory' tab, select 'Add' to add a new Application Extension Mapping. When I select th...

IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca.. - I am working on a C++ extension DLL created in VC6 and used under IIS6 and 2003 Server. When I debug into the ISAPI extension DLL, the DLLMain's gets called for DLL Attach action (true returned) but no other exposed functions such GetExtensionVersion or....

Web service num er mapping - I am required by my company to zip the IIS logs stored on e:\logs\w3svc[n]\exyymmdd.log on a regular basis. Writing a script to do this is trivial. However, the part I am finding non trivial is how do I map from the w3svc[n] to web addresses. VBscript is...
   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 ]