I am wanting to use include() for some pages on my website so I can have a password which often changes in one file and then the files which use the password just include the password file.
This is how database connection is done in vB. I have noticed and read about security issues related to the use of it. Couldn't someone from another site include your password file and then echo the variable? COuld someone please tell me how to make the use of include() secure and how vB gets past this and any other security issues too.
Also, my password file is in a folder and all the files which want to include it are in sub dirs. Could someone please give an example of how to use include in this case.
Thanks
This is how database connection is done in vB. I have noticed and read about security issues related to the use of it. Couldn't someone from another site include your password file and then echo the variable? COuld someone please tell me how to make the use of include() secure and how vB gets past this and any other security issues too.
Also, my password file is in a folder and all the files which want to include it are in sub dirs. Could someone please give an example of how to use include in this case.
Thanks
Comment