logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: securing php, mysql, perl, and python
Author
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Fri 29 Feb '08 16:23    Post subject: securing php, mysql, perl, and python Reply with quote

I know this is a lot to try to secure.

Perl: I know with perl that there's a secure paddle lock on ppm manager. I have noticed this when it was to late and after all of the ppm's were installed. I have also noticed that there's ppl on this board that says perl isn't to secure. So how to do u secure perl (the different ways)? Also, is there a way to secure it using mod_security?

PHP: Is there a way to secure php (the different ways)? How do u secure php using it's php.ini file? How do you secure php using mod_security?

MySQL: Is there a way to secure MySQL (the different way)? How do you secure mysql using it's ini files? How do you secure it using mod_security?

Python: I haven't sent any ini files so how do u secure python? How do you secure using mod_security?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sat 15 Mar '08 22:04    Post subject: Reply with quote

Secure PHP

php.ini
Code:

expose_php = Off
short_open_tag = off
open_basedir = "C:/path/to/htdocs/"
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
error_log = C:/apache2/logs/phperror.log
register_globals = Off
register_long_arrays = Off
disable_functions = HERE ALL SYSTEM FUNCTIONS ;-)

Enable only extensions you need.

Secure your applications!!
Back to top


Reply to topic   Topic: securing php, mysql, perl, and python View previous topic :: View next topic
Post new topic   Forum Index -> Other Software