Solved

Not allow php scripts to run on 2003 server

Posted on 2007-11-20
3
162 Views
Last Modified: 2010-04-21
How do I not allow any *.php scripts the ability to run on a windows 2003 server.
I would like to deny permission for any php script to run globally.
0
Comment
Question by:mike99c
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
StuFox100 earned 500 total points
ID: 20326829
HI Mike

I am not 100% sure what you mean?

php will only run through IIS if you have installed the PHP components.

To remove from IIS open Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager
- Expand the local computer in the left pane
- Right-click on "Web Sites" in the left pane, then click "Properties" in the menu that pops up
- Flip to the "Home Directory" tab
- Click "Configuration"
- Flip to the "Mappings" tab
- Remove all references to PHP.

Cheers
Stu
0
 

Author Comment

by:mike99c
ID: 20329975
Hi thanks for that
What I want to do is to stop any of our hosted sites running php (malicious) scripts.
So what you are suggesting will fix this?
Cheers
Mike
0
 

Author Closing Comment

by:mike99c
ID: 31410216
Thanks, for that. Cheers
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now