Php And Mysql On Https Can I connect to databse from https ?
#1
Posted 11 April 2005 - 08:03 PM
When the user goes to the secure area I want to log there cookie and details into a MySQL database for processing.
Is it possible to do this in a secure way ??
I know exactly how I want to script it but how do I connect to my localhost database when in a https sessions ??
Is it the same as connecting from my domain ??
#2
Posted 12 April 2005 - 12:31 AM
Welcome to the Forums
Yes, it can be done, and you would do it in exactly the same way as from your domain using http.
If you want to make the storage additionally secure, you should encrypt the information in the mysql database. (Https, only secures the transmission of the data between server and client).
#3
Posted 12 April 2005 - 04:41 AM
Forum Moderator
TotalChoice Hosting, L.L.C.
Any links or suggestions for third party software/sites should be used at your own risk. My opinions and recommendations are not necessary those of TCH and TCH is not responsible.
As a Forum Moderator I can assist in answering many of your hosting related questions. However, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
Web Hosting by Total Choice Web Hosting - 24/7 Help Desk
#4
Posted 12 April 2005 - 04:42 AM
"When all else fails (and it will)...there's Amateur Radio!"
"It is better to let people THINK you're a fool than to open your mouth and remove all doubt."
#5
Posted 12 April 2005 - 06:39 AM
I have only used MD5 before that makes the information un readable to me though which is useless.
Any Ideas on PGP ??
This post has been edited by music4missions: 12 April 2005 - 06:40 AM
#6
Posted 12 April 2005 - 07:31 AM
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum
I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
#7
Posted 12 April 2005 - 03:07 PM
It looks like you'd need to use something like one of PHP's Mcrypt encryption functions instead of hash functions such as MD5.
The Tweezer's Edge v3
#8
Posted 12 April 2005 - 03:18 PM
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!
Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.
I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.
treasure your pets
The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"
#9
Posted 12 April 2005 - 06:16 PM
OK, I ran PHP Info and found mcrypt is there as an installed extension (Thanks again for great hosting)
I understand that I need to set a whole bunch of items for this type of encrytion($key, $cipher_alg, etc) so Ill let you know how I go.
I may even add a tutorial of how to do this to your forums so you can check Ive done it right an others can use it.
Thanks
#10
Posted 12 April 2005 - 06:37 PM
music4missions, on Apr 12 2005, 07:16 PM, said:
Tutorials are always welcome.
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum
I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
#11
Posted 12 April 2005 - 06:58 PM
"When all else fails (and it will)...there's Amateur Radio!"
"It is better to let people THINK you're a fool than to open your mouth and remove all doubt."

Sign In
Register
Help

MultiQuote
