IDG Answers is a community of experts who are passionate about technology. Ask a question or answer one below.
According to Hacking for Dummies, taking these steps will help prevent default script attacks:
Know how scripts work before deploying them within a web environment.
Make sure that all default or sample scripts are removed from the web server before using them.
Don’t use publicly accessible scripts that contain hard-coded confidential information. They’re a security incident in the making.
Set file permissions on sensitive areas of your site/application to prevent public access.