Posted by Steve on 03/08/06 18:14
> Can anyone tell me how i can prevent that users can see my connection string
> to mysql database?
>
> Using my browser i could easely use the function: view source.....showing
> the html/php code.
>
> IF the file includes the connection string than anyone could see my database
> name and password.....
>
> How can i prevent this??
Well, why don't you actually try viewing the source of the output
created by your PHP script and see what is there.
Anything useful to see? If there is, you put it there so take it out.
---
Steve
Navigation:
[Reply to this message]
|