Solved

Not allow php scripts to run on 2003 server

Posted on 2007-11-20
3
163 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

19 Experts available now in Live!

Get 1:1 Help Now