Solved

Not allow php scripts to run on 2003 server

Posted on 2007-11-20
3
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Learn about cloud computing and its benefits for small business owners.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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