Posted by Mark@home on 03/08/06 18:22
Thanks Alan ...this is the answer i was looking for...hehe
i am a newbee...as you well guessed...lol
Now i can stop worrying on security and start designing and learning....my
webpage with sql ( read only)
"Alan Cole" <justal@lineone.net> wrote in message
news:justal-9C4347.16103308032006@nntp-readers.plus.net...
> In article <be4df$440effca$89781b7f$12835@news1.tudelft.nl>,
> "Mark@home" <donnersm@home.nl> wrote:
>
>> 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??
>>
>> Please help.
>> Mark
>
> If the server is set up properly no php code will be sent to the
> browser... php is a server side scripting language that is processed on
> the server and should never get sent to the browser when a page is
> requested.
>
> Al.
>
> --
> Alan Cole. E-mail: justal at lineone dot net
> http://www.forces-of-nature.co.uk [Coastal Sports]
> http://www.pixelwave.co.uk [Website Design, hosting and promotion]
[Back to original message]
|