Jump to content

Requirments for SSL PHP Scripts


uniflare

Recommended Posts

I have SSL Running already fine, i go to my script it runs perfect...

 

My question is:

 

Are there any special requirments for using SSL with php? at the moment i'm assuming by just calling the url with https is secure enough for credit card information, am i correct? or are there certain pieces of code that need tweaking for security?

 

Not using globals, using mysql_escape_string on all mysql-related user input, and htmlentities on all displayable user-inputed data.

 

thanks for your help in advance :D

Link to comment
https://forums.phpfreaks.com/topic/96801-requirments-for-ssl-php-scripts/
Share on other sites

thats what i thought, cheers,

 

i only asked because on some shopping cart scripts they sell different packages and the cheaper ones say they don't support HTTPS or similar and charge for SSL Secure Shopping Scripts...

 

Can they justify this? or does it mean something else i'm not thinking of?

 

one example: http://www.shop-script.com/compare-shopping-cart-software.html ; where it says "Secure checkout (SSL)" under "Shopping cart & Ordering"

 

 

thanks :)

hm, don't know what that's about. all i can think of is that they disabled it on purpose, perhaps checking for a secure connection and redirecting to an insecure connection if necessary. i've never had to do anything for my PHP code except maybe the reverse: if the user takes the s out of https, put it back in on a redirect.

When they say they support SSL, they mean, secure paths can be integrated in their settings so that the shop goes through the secure connection when a user proceeds to a certain point in checkout (Rather than simply running under HTTPS). You also want to make sure your server/host allows both incoming/outgoing connections on port 443 (If you plan on using a payment gateway. In other words...steer clear of crap hosts like GoDaddy).

Thanks Caesar & BlueSky, are you talking about stuff like paypal-type SSL Transactions etc using headers?

---

 

also can anyone reccomend a good tut on building a verisign payment module class or similar? (i want to create one my self, so i dont have to pay to get rid of the copyright on the script).

 

 

thanks all :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.