Hi,
Is there a way to protect php-scripts?
Like for connecting to mysql, I have a php-file where pasword etc... are kept, I thought of putting those files in a separate folder but I can't seem to get the right chmod settings, I'd like the scripts to be able to access them but the user(s) shouldn't be able, So far I can only do one of them, but not both, does anybody have an idea?
It's not only for password, I also have scripts that should only be run at certain times (only the admin) or just when a certain thing occurs... If the users can run them separetly, They can damage the database and so on...
All idea's are welcome !!
Thanx in advance !!
math
Is there a way to protect php-scripts?
Like for connecting to mysql, I have a php-file where pasword etc... are kept, I thought of putting those files in a separate folder but I can't seem to get the right chmod settings, I'd like the scripts to be able to access them but the user(s) shouldn't be able, So far I can only do one of them, but not both, does anybody have an idea?
It's not only for password, I also have scripts that should only be run at certain times (only the admin) or just when a certain thing occurs... If the users can run them separetly, They can damage the database and so on...
All idea's are welcome !!
Thanx in advance !!
math