Secure php on windows 2003 hosting server.

I want to secure php on windows 2003 server. It come to my mind that someone can upload a file and use it to cross sites and defacing other website.
What is the best approch in to leting site owner to use php no that server but make sure that there will not bee a case of cross sitr defacing.
I want to be able to protect agains a hacking attempt
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
yalovAuthor Commented:
Well, Thanks but that did not help so much cause you gave me stuff dealing with scripting. I am looking for eplanation on how am I as a serverowner defance against that. How can I make my server more secure. How can I as a server administrator preavet this things from happening and not as a web site owner. you give me a stuff as if I am a web site owner ant that dose not help.
> .. as a server administrator preavet this things from happening ..
you cannot
all parts --OS, file and process permissions, web server configuration (IIS), application server configuration (PHP), application (PHP-scripts)-- have to take care of each other,
securing the web server is just a second line of defence, securing the os the third line and so on ...
The main culprit is the PHP, I mean the programmers writing vulnerable php scripts.
As server administrator I'd configure php as restrictive as possible (probably also using a patched php, see )

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.