简体   繁体   中英

how to establish secure connection using ssl between html5 website and wbeserver

Please I have a android hybrid app which mean i'v build it with html5,javascript and css. and with it i consult some informations from a database through php . this database and php files i've hosted them in x10hosting.com website . but i want to make the connection between my app and the database (php)secure . i want to use ssl , but i don't know how to do it, I've searching for like a weak , and i'm here so please help me because this is my final project . please any tutorials or links i'll be very thankful

I assume it should be enough if you configure your HTTP server to allow SSL connections (have you done anything in this direction?) and then use it by simply connecting to "HTTPS" instead of "HTTP".

One more thing is that your app should check the validity of the certificate of the server - otherwise you are vulnerable to man-in-the-middle attacks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM