计算机专业文献翻译网络编程的技术解析.docx

上传人:b****7 文档编号:9390565 上传时间:2023-02-04 格式:DOCX 页数:18 大小:29.65KB
下载 相关 举报
计算机专业文献翻译网络编程的技术解析.docx_第1页
第1页 / 共18页
计算机专业文献翻译网络编程的技术解析.docx_第2页
第2页 / 共18页
计算机专业文献翻译网络编程的技术解析.docx_第3页
第3页 / 共18页
计算机专业文献翻译网络编程的技术解析.docx_第4页
第4页 / 共18页
计算机专业文献翻译网络编程的技术解析.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

计算机专业文献翻译网络编程的技术解析.docx

《计算机专业文献翻译网络编程的技术解析.docx》由会员分享,可在线阅读,更多相关《计算机专业文献翻译网络编程的技术解析.docx(18页珍藏版)》请在冰豆网上搜索。

计算机专业文献翻译网络编程的技术解析.docx

计算机专业文献翻译网络编程的技术解析

TechnicalAnalysisofNetworkProgramming

1.IdentityVerificationofASP.NET

Ahaveverifiedtheidentityofthree.are"Windows|Forms|Passport."AmongthemFormsauthenticationofthelargestandmostflexible.

Formsauthenticationbasedonthetestwillprovideagoodusersupport,apagepostedbyuserscanverifytheidentityofusersofthisbackinhiscapacityastheCookieclient.UsersvisittheWebafterthisapplicationwillbesenttotheservicetogetherwiththeidentityCookieend.Servercanbeinstalledontheauthorizedlistofusersunderdifferentcontroloftheauthority'svisit.Thenseebelowabouttheprocess.

Formsauthenticationbasictenets:

Identityverification

Formsauthenticationusinganidentification.ApplicationsmustbeintherootcatalogWeb.configcorrespondingsetuptodo:

whichsaidtheapplicationsForuseFormsauthentication.

1.labelsaidthenamedesignatedtobeusedforidentificationHTTPCookie.Acquiescenceunderthenamevalueis.ASPXAUTH.Verificationusersadoptthisway,usersofthisinformationtoestablishasimilarbodyFormsAuthenticationTicketVerificationofthesevotes,andthenintoastringencryptionsequence.Finally,thestringnameoftheclientwrotethenamesofdesignatedCookie.OncetheCookieclientwrote,ThisWebusersvisitedthisapplicationwillbesenttotheservicetogetherwithCookieend,Enduserswillbeawareofthisservicehasbeenverifiedbefore.

IdentityVerificationvotes,let'slookatwhatthemessagecontained.WelookatFormsAuthenticationTicketcategories:

CookiePath:

returnthepathofCookie.ThatthepathsetupforWindows"/".BecauseWindowscapitalizationdistinction,whichistheURLofthesiteinordertopreventinconsistenciesandcapitalizationofaprotectivemeasure.ThisinturnuseExpiration:

AcquiringCookieCookieexpiredDate/Time.

IsPersistent:

IfissuedlastingCookie,returntrue.Otherwise,theidentificationCookiewouldlimitthescopeofthelifecycleinabrowser.

IssueDate:

ThefirstissueofCookieAcquisitionDate/Time.

Name:

accesstotheusernameassociatedwiththeidentificationCookie.

UserData:

accesstoapplicationsstoredintheCookiedefinitionstring.

Version:

byteversionreturnforafutureuse.

2.IfthereisnodesignatedloginUrlinthelabeltofindanyeffectiveidentificationCookie,willbepostedtotheURLRedirectionrequest.Defaultvaluesfordefault.aspx.LoginUrlesignatedpageisusedtoverifytheidentityofusers.Thispageprovidesgeneralusernamesandpasswordsforuserinput.submittedbytheuserinaccordancewiththeirownproceduresneedtoverifythelegitimacyofusers(mostofthecasesistotheuserinputinformationwithafewAccordingtolibraryuserscomparativetable),effectiveverificationusers,generatingthecorrespondinguseridentificationwiththisvote,Cookiewrotetotheclient.Finallymaidenrequesttotheuser'sbrowserredirectionpages.generallyusedFormsAuthentication.RedirectFromLoginPagegeneratingcapacitytocompletethecertificationvote,writeanyclient,browserredirectionofaseriesofmoves.

PublicstaticvoidRedirectFormLoginPage(stringusername,boolcreatePersistentCookie,stringstrCookiePath);

UserName:

theusersignstomarkthesoleuserofthismarker,Accountnamenotbemappedtotheuser.createPersistentCookie:

Cookiewhethertoissueapermanentmarker.Cookieisnotdurable.CookievalidExpirationattributeswhicharepresenttimewithsedtimeouttime,eachpagerequest,theidentityverificationprocess.overhalfoftheperiodwilldeterminewhether,andifsotoupdateacookieisvalid;Iflastingcookie,Expirationattributesenseless.ThenthevalidvotesidentificationofacookieExpires,RedirectFromLoginPagemethodistosetattributesfor50yearsExpiresvalid.

StrCookiePath:

markerwillbegeneratedbytheclientCookiePath.IdentityVerificationvotestopreservethispathisusedintheupdatedidentificationvotesCookie(whichisalsogeneratedCookiethePath),ifnotstrCookiePathparameters,usingtheattributeswhichinweb.configofpath'sAttribute.

Herewecanseethatthismethodonlythreeparameters,andattributestheidentificationofsevenvotes.soistheshortageoffourparameters:

IssueDate:

Cookieissueddrawnfromthecurrenttime.

Expiration:

Nexttimeexpiredbythetimeandsaythatthecurrentlabeltimeoutparameterscalculated.Thispersistentcookieparametersonthenon-meaningful.

UserData:

Thisattributecanbeusedanumberofapplicationsintotheuser-defineddata.Ididnotusethismethodattributes,butsimplyattributethishomeemptystring,pleasetakenoteofthisattribute,Wewillbebehindintheuseofthisattribute.

Version:

No.versionprovidedbythesystemautomatically.

GenerationaftergenerationidentificationvotesRedirectFromLoginPagemethods.CallFormsAuthentication.Encryptwill,Encryptionwillvoteforidentificationstring.Thiswillbeastring.ASPXAUTHtonameaCookievalue.Cookieotherattributesofthisgeneration:

Domain,theprovincialPathToattributevalueExpiresAscreatePersistentCookieparameters,Iflastingcookiethatexpiredafter50yearsastheExpires;Ifnon-persistentcookie,Expiresattributeinstalled.

GenerationidentificationCookie,Cookiejoinedthisresponse.Cookies,awaitingsenttoclients.FinallyRedirectFromLoginPagemethodinvocationFormsAuthentication.GetRedirectUrlwayusersaccesstotheoriginalrequestofthepage.Redirectionofthispage.

3.labelsandthepathofthetimeout,provideidentificationtovoteisenshrinedintheroadandacquiescenceCookietimeexpired.

Formsauthenticationisbasedontheaboveprocess,ithascompletedtheconfirmationoftheidentity.Formsaredescribedbelowbasedontheidentificationofthemission.

visitauthorization

Verificationofidentityistousethiscapacity,accordingtothedifferentoperationalcapacitywecanhandle.ThemostcommonisdifferentfordifferentidentitiesauthorizedtoprovidesuchacertificationFormsfunction.Formsauthorizationisbasedonthecatalog,catalogcanbedirectedatanyauthoritytosetupavisit,forexample,Theseuserscanaccessthecatalog,userscanvisitthelistofthose.Similarly,theauthorityissetupinwhichyouwanttocontroltheweb.configfiletosetupacatalog:

roles="comma-separatedlistofroles"

verbs="comma-separatedlistofverbs"/>

roles="comma-separatedlistofroles"

verbs="comma-separatedlistofverbs"/>

labelsaidthatitwouldallowavisit,whichattributes:

1.Users:

acommaseparatedlistofusernames,whichusershadbeengrantedtherightofaccesstoresources.Questionmark(?

)Allowsanonymoususers;Anasterisk(*)toallowallusers.

2.Roles:

theroleofacommaseparatedlistoftheseroleshasbeengivenresourcestovisittheauthority.

3.Verbs:

acommaseparatedlistofHTTPtransmissionmethod,HTTPtransmissionofthesemethodshasbeenawardedtheAccesstoresources.ASP.NETregistrationtothepredicateforGET,HEAD,POSTandDEBUG.

labelsaidnotallowedtovisit.Withtheattributesabove.

Inoperation,authorizedbyiterativemoduleandmarkingsUntilitisthefirstvisittofindasuitableuser-specificrules.Then,AccordingtofinditisthefirstvisitbytherulesorrulestopermitorrefusetoURL.resourcesvisit.Machine.configidentificationdocumentsdefaultrules,unlessotherwiseallocation,oracquiescenceinthecircumstancesunderwhichtheywillallowtovisit.

2.TheASP.NETUsingStoredProcedure

Inuse.NETprocess,thedatabaseisaveryimportantpartofespeciallyintheprocessofbuildingasystem/databaseoperatedalmostbecomeanessentialoperation.Callstoredinthedatabaseusedtooperatemanyprogrammers,MostprogrammersareabletousestoredontheuseofstoredprocedurerarelyusedinSQL.Somemoryisveryusefulandveryimportantprocess.

1.IntroductionofStoredProcedure

Simply,storageiscontrolbytheprocessandsomeSQLlanguagewascomposedofpackaginguptheprocess,itspresenceinthedatabase,clientapplicationscanbedeployed,canalsotriggeranotherprocessortransfer.Transmissionanditsparameterscanbereturned.Andtheapplicationprocessfunctionsimilarnamescanbestoredprocedurecall,Inaddition,theyhavethesameinputparametersandoutputparameters.

Accordingtodifferenttypesofreturnvalues,wewillbebacktorecordstorageprocessisdividedintothreecategories:

thecollectionstorageprocess.Numericalreturntothestoredprocedure(alsocalledscalarstored),andactsstored.Bydefinition,settoreturntorecordtheresultsoftheimplementationofthestorageprocessisarecordset,Atypicalexampleisretrievedfromthedatabasewiththerecordsofoneorafewconditions;NumericalimplementationofthereturnprocessisfinishedandreturnedtoastoragevalueForexample,intheimplementationofadatabaseorfunctionreturnvalueoftheorder;Finally,onlyactsstoredinthedatabaseisusedtoachieveacertainfunction,anddidnotreturntoduty.Forexample,thedatabaseupdateanddeleteoperations.

2.Thebenefitsofusingstoredprocedure

ComparingwiththedirectuseofSQLandstoredintheapplicationprocessbycallingthefollowingbenefits:

(1)reducenetworktraffic.Callastoredprocedureandthesmallnumberoffirmsd

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 经管营销 > 公共行政管理

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1