Link to home
Start Free TrialLog in
Avatar of blueshaolin
blueshaolin

asked on

How to secure php includes/constants files ?

Hi everyone, I just want to know how I can secure/protect/hide the 'important' files (includes/constants) in a PHP/MySQL (not very complex) application, I'd like to know the good and UPDATED methods / techniques / steps to achieve that.

By the way the files are stored in a shared hosting (Linux).

Thanks!
SOLUTION
Avatar of jonmchan
jonmchan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of blueshaolin
blueshaolin

ASKER

I'm sorry, my english isn't good enough, the most important file (I think) is the one with the DB password, isn't it ? how can I protect it from general users ?

Thanks for your answers so far !!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial