欢迎来到天天文库
浏览记录
ID:37248698
大小:6.35 MB
页数:238页
时间:2019-05-20
《ASP.NET电子商务开发实战3》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、CHAPTER16■■■CreatingCustomerAccountsSofarinthisbook,you’vebuiltabasic(butfunctional)siteandhookeditintoPayPalfortakingpaymentsandconfirmingorders.Inthislastsectionofthebook,you’lltakethingsalittlefurther.BycuttingoutPayPalfromtheorderingprocess,youcangainbettercontrolandreduceoverhead.Thisisn’tas
2、complicatedasyoumightthink,butyoumustbecarefultodothingsright.Thischapterlaysthegroundworkforthistaskbyimplementingacustomeraccountsystem.Tomakee-commercesitesmoreuser-friendly,detailssuchascreditcardnumbersarestoredinadatabasesothatvisitorsdon’thavetoretypethisinformationeachtimetheyplaceanorder
3、.Thecustomeraccountsystemyou’llimplementwilldothisandwillincludeallthewebpagesrequiredforenteringsuchdetails.Aswellasimplementingthesewebpages,you’llneedtotakeseveralotherfactorsintoaccount.First,simplyplacingcreditcardnumbers,expirydates,andsoonintoadatabaseinplaintextisn’tideal.Thismethodmighte
4、xposethisdatatounscrupulouspeoplewithaccesstothedatabase.Thiscouldoccurremotelyorbeperpetratedbyindividualswithinyourclient’sorganization.Ratherthanenforcingaprohibitivelyrestrictiveaccesspolicytosuchdata,it’smucheasiertoencryptsensitiveinformationandretrieveitprogrammaticallywhenrequired.You’llc
5、reateasecuritylibrarytomakethiseasier.Secondly,securecommunicationsareimportantbecauseyou’llbecapturingsensitiveinformationsuchascreditcarddetailsviatheWeb.Youcan’tjustputaformupforpeopletoaccessviaHTTPandallowthemtosendittoyoubecausethedatacouldbeintercepted.You’lllearnhowtouseSSLoverHTTPSconnec
6、tionstosolvethisproblem.You’llbetakingtheBalloonShopapplicationtothepointwhereyoucanmoveonandimplementyourownbackendorderpipelineinthenextchapters.Inthischapter,you’lllearnhowto•Storecustomeraccounts•Implementthesecurityclasses•AddcustomeraccountfunctionalitytoBalloonShop•Createthecheckoutpage465
7、更多电子书教程下载请登陆http://down.zzbaike.com/ebook本站提供的电子书教程均为网上搜集,如果该教程涉及或侵害到您的版权请联系我们。466CHAPTER16■CREATINGCUSTOMERACCOUNTSStoringCustomerAccountsYoucanhandlecustomeraccountfunctionalityinwebsitesinmanyways.Ingeneral,however,
此文档下载收益归作者所有