secureSWF帮助文档英文版.docx

上传人:b****4 文档编号:4818494 上传时间:2023-05-07 格式:DOCX 页数:39 大小:32.82KB
下载 相关 举报
secureSWF帮助文档英文版.docx_第1页
第1页 / 共39页
secureSWF帮助文档英文版.docx_第2页
第2页 / 共39页
secureSWF帮助文档英文版.docx_第3页
第3页 / 共39页
secureSWF帮助文档英文版.docx_第4页
第4页 / 共39页
secureSWF帮助文档英文版.docx_第5页
第5页 / 共39页
secureSWF帮助文档英文版.docx_第6页
第6页 / 共39页
secureSWF帮助文档英文版.docx_第7页
第7页 / 共39页
secureSWF帮助文档英文版.docx_第8页
第8页 / 共39页
secureSWF帮助文档英文版.docx_第9页
第9页 / 共39页
secureSWF帮助文档英文版.docx_第10页
第10页 / 共39页
secureSWF帮助文档英文版.docx_第11页
第11页 / 共39页
secureSWF帮助文档英文版.docx_第12页
第12页 / 共39页
secureSWF帮助文档英文版.docx_第13页
第13页 / 共39页
secureSWF帮助文档英文版.docx_第14页
第14页 / 共39页
secureSWF帮助文档英文版.docx_第15页
第15页 / 共39页
secureSWF帮助文档英文版.docx_第16页
第16页 / 共39页
secureSWF帮助文档英文版.docx_第17页
第17页 / 共39页
secureSWF帮助文档英文版.docx_第18页
第18页 / 共39页
secureSWF帮助文档英文版.docx_第19页
第19页 / 共39页
secureSWF帮助文档英文版.docx_第20页
第20页 / 共39页
亲,该文档总共39页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

secureSWF帮助文档英文版.docx

《secureSWF帮助文档英文版.docx》由会员分享,可在线阅读,更多相关《secureSWF帮助文档英文版.docx(39页珍藏版)》请在冰点文库上搜索。

secureSWF帮助文档英文版.docx

secureSWF帮助文档英文版

窗体顶端

GettingStarted

WhilesecureSWFprovidesawidearrayofprotectionoptionsforFlashapplications,gettingstartedwithalevelofsecuritythatcouldwellbeallyouneedisasimple3-stepoperation.

SecureyourSWFs-Easyas1-2-3!

1.AddSWFfile(s)intoyourproject(ProjectFilestab)

Youcanaddmultiplefileswhichwillallbeprocessedwiththesamesettings.YoushouldaddallfilesthatinteractwitheachothersosecureSWFcandetectthereferencesandmakesuretheobfuscatedfileswillworkthesamewaytheydidbeforeobfuscation.TheStatisticspanelshowsyouinfoaboutthefileorfilesintheproject.

2.LookatProtectionPresetschoices

Thesearepre-definedsecuritylevelsthatmaybeenoughformanyneeds.Theyofferdifferentprotection-to-filesize-to-performanceratios.Youcanoptionallysetupcustomlevelsexactlysuitedtoyourneedsifpresetsarenotquitewhatyouwant.

3.SpecifyprefixorpostfixforoutputfileandProtect

Addaprefix(e.g.secure_)and/orpostfix(suffix)fortheprotectedoutputversionofyourSWFfilesothattheoriginalisnotoverwrittenwiththeprotectedversion.ThenclicktheProtectbutton.

THAT'SALLITTAKESTOGETSTARTEDPROTECTINGYOURSWFFILES!

||

OfcourseyouwillwanttoexplorethemanyprotectionoptionsavailableinsecureSWFtogetthemaximumbenefitsforyoursituation.Therestofthisguidewillintroduceyoutothemajorareasoftheproducttoexplorenext.

AttheconclusionofthisguideyoushouldbewellonyourwaytounderstandinghowtousesecureSWFtoachievethesecurityandperformancelevelsthatarerightforyourFlashapplications.

Backtothetop

GettingStartedwithsecureSWFProtectionSettings

WhileyoucangetaprettygoodlevelofprotectionforyourSWFfilesusingpresets,theseareonlythetipoftheicebergwhenitcomestoyouroptionsforsecuringyourFlashapps.ItwillofcoursetakesometimetomastereverythingsecureSWFhastooffer,butitshouldn'ttakeyoutoolongtogetacquaintedwiththemajorproductfeaturesandsettingsandarrivetothelevelofprotectionthat'sgoodforyourneeds.Let'slookbrieflyatthemainthingsyoushouldlookatwhendevisingasecurityschemeforyourapplications.

IdentifiersRenamingTab

 

RenamingofidentifiersinyourapplicationsourcecodeisoneofthemainwayssecureSWFprotectsyourappsfromreverseengineering.TheIdentifiersRenamingtabprovidesanumberofoptionsthatcontrolhowsecureSWFhandlesrenamingasitobfuscatesyoursourcecode.

MainOptions:

-EnableIdentifiersRenaming 

ThisisatogglethatcontrolswhetherornotsecureSWFwillrenameidentifiersaspartoftheobfuscationprocess.Checkittoenablerenamingofidentifiers.

-Level 

Thissettingcontrolshowrenaminghappens.

-AggressiveRenaming 

Ifyoucheckit,identifiersarerenamedwithnon-printingcharacters,illegalnames,etc.Thisgenerallyresultsinsmallernames(reducingthebytecountinthefinalobfuscatedfile).Decompilerscan'tprintordisplayidentifiers.

-UseActionScriptKeywords 

thiscauseskeywordsinsideActionScriptcodetobechangedtobeunintelligibleandunrecognizableaskeywords.

-AutomaticallyHandleWarnings 

secureSWFwillhandlewarningsresultingfromrenamingofidentifiers.Turnoffthisoptionifyouwanttoseewarnings.

AdditionalRenamingOptions

Fairlyselfexplanatory.Mappingtableisjustatableoforiginalidentifiersmappedtorenamedidentifiers.ItcanHelpde-obfuscateerrormessagethatmightariseinyourFlashapplater.SeeHelpifyouneedtodelvedeeperintotheseoptions.

 

 

ExploringPackagesandClasses TheIdentifiersRenamingtabdisplaysatreeofthepackagesandclassesinyourapplication,anditshowswhichclasseswillhaveidentifiersrenamedwiththestandardrenamingdefaults.Whenyouselectanyclassontheleft,itsmembersaredisplayedontheright.

Basicallywhatyouwanttodohereislookthroughtheclasses,seewhichoneswillhaveidentifiersrenamedbythedefaultrenaming(thesearecheckedinthelisting),anddecidewhetheryouwanttohavemoreclassesprocessed,andsetoptionsforrenaming.Youcanasgetgranularasyouwantbyselectingindividualclassesforrenamingandmakingsettingsforeachselectedclass.

ProtectionOptionsTab

ThistabprovidesthesecondmajorsecurityfeaturesareaofsecureSWF.Itprovidesoptionsforcodetransformations,fileoptimization,domainlocking,andencryptionofembeddedstringliterals.

CodeTransformation

Codetransformationfoilsdecompilersbychangingcompiledcodesothatitcannolongerbereverseengineeredintosource.YoucansetanumberofoptionsincludingAdvancedoptionsforagreaterorlesserdegreeoftransformation.Detailedinformationabouteachoptioncanbefoundhere.

EncryptedDomainLocking

ThisfeatureenablesyoutospecifythedomainsonwhichtheprotectedSWFfile(s)canbehosted.Fileswillnotworkifhostedonanyotherdomain.Alsocanbeusedtopreventlocalexecutionoffline.

 

 

Optimization

Optimizesthecodeitselfandperformsvariousoperationstoreducefilesizeandoptimizeperformance.Detailedinformationabouteachoptioncanbefoundhere.

LiteralStringsEncryption

Encryptstheliteraldatathat'sinsidethecode-hard-codedpassphrasesorURLsforexample.Replacesliteralstringswithaspecialfunctioncallthatreturnsthedecryptedstring,whichisstoredinanencryptedform.

 

 

Backtothetop

ConfigurationsRulesTab

Whileprevioustabsenableyoutospecifyhowyourcodewillbeobfuscateddowntoasinglefunctionoridentifier,weknowthatpinpointingeverysingleonecouldbeaverytimeconsumingprocess.Becauseofthis,we'veaddedtheRulestab.

HereyoucanjusttellsecureSWFwhattodowithallthecodeinanentirepackage,orasingleclass.Justwriteinthepatternandcheckwhichoptionsyouwanttooverride.

Youcanusethis,forexample,toavoidobfuscatingcodemergedfromSWClibrariesprovidedbythird-parties.

Ruleswilloverrideallothersettings.

 

Backtothetop

---- 

Troubleshooting

AfterprotectingyourSWFfiles,wehighlyrecommendtotestthem.Iftheprotectedfilesarenotfunctioningproperly,thenoneormoreofsecureSWFprotectionoptionsrequiresfurthertuning.Pleasefollowthesesimplestepstofindoutwhatwentwrong.

1.Removeallfilesandstartover.

2.Afteraddingyourfilesagain,settheProtectionPresettoTesting.Thiswillturnoffalltheprocessingoptions.Processthefilesandtestthem.Ifthegeneratedfilesarestillnotworkingproperly,thenpleasecontactus.YouaremostlikelyfacingamajorissueinsecureSWFthatwereallywanttoknowaboutandtrytofixassoonaspossible.

3.EnableControlFlowObfuscationandsetitto100%intensity.Processthefiles.Ifeverythingworkswell,thenpleasemovetostep4.Ifthefilesarenotfunctioningproperlyafterenablingthisoption,thenhereiswhatyoucando:

∙ActionScript1and2basedprojects,leavethisoptiondisabledandtryStatement-levelRandomizationandDynamicCodeWrapping.TheyarejustaseffectiveasControlFlowObfuscation.

 

∙ActionScript3,theFlashPlayer(debuggerversion,available here)shouldthrowaverificationerrorsuchas"Stackunbalancedx!

=y"or"TypeAandTypeBcannotbereconciled"withacallstacktrace.PleasemovetotheCodeTransformationTroubleshooting section.

 

 

1.EnableIdentifiersRenamingandprocessthefilesagain.Ifthefilesarenotworking,pleasemovetothe IdentifiersRenamingTroubleshooting section.

2.Enableotheroptionsonebyoneuntilyougetthenonfunctionalfileandthenpleaseletusknowwhichoptionbrokeyourapplication.

Backtothetop

 

IdentifiersRenamingTroubleshooting

WhilesecureSWFtriestoautomaticallyexcludesidentifiersthatcauseproblemswhenrenamed,someidentifierswillstillslipawayandrequireyoutomanuallyexcludethem.

Firstofall,pleasesetidentifiersrenamingLeveltoNormalandmakesurethatAutomaticallyhandlewarningsandGeneratemappingtablearecheckedandallothercheckboxesareuncheckedasappearsbelow.

Processthefiles,iftheprotectedfilesarestillnotworkingproperlythenpleasefollowthefollowingsteps:

ActionScript1and2:

Youhavetotryoutdifferentsettingsmultipletimestofindoutwhichidentifieriscausingtheproblem.Youonlyhavetodothisonceforeveryprojectsinceyoucansavethesettingsandloadthemlaterwhenyouneedthemagain.

1.SettherenamingLeveltoSafeRenamingandseeifthathelps.Ifitdoesn't,continuefollowingthesteps.

2.IntheIdentifiersRenamingtab,right-clicktheSWFfileintheAllidentifierstreeandclickonDeselectAll.Thiswilldeselectalltheidentifiersinthefile.

3.Startselectingidentifiersgroupbygroup;rightundertheSWFfile,youwillusuallyfindthe"TimeLine"node(sometimesaSymbol,Package,orClass).Right-clickthefirstnodeundertheSWFfileandclickonRestoreDefaults(notSelectAll).Processthefileandtestit.Ifitworks,movetothenextnodeanddothesametoit.Ifitdoesn'twork,deselectthenode,skipit,andmovetothenextnode.

4.Nowyoushouldhaveaworkingprotectedfilewithmostofitsidentifiersrenamed.Youcanrenamemoreidentifiersifyouwanttoandtesttheprotectedfileaftereverychange.

 

ActionScript3:

YoucansettherenamingLeveltoSafeRenamingifyouwanttosavesometimeanddon'tmindthatsomeidentifierswillnotgetrenamed.WedonotrecommendthatsincemostidentifiersexcludedbySafeRenamingdonotcauseproblemswhenrenamed.

TheFlashplayer(debuggingversion)willthrowverificationerrorsforActio

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

当前位置:首页 > PPT模板 > 商务科技

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2