ANONYMOUS (FTP server) statement - IBM

文章推薦指數: 80 %
投票人數:10人

Allows a remote user to enter ANONYMOUS as a user ID. When ANONYMOUS is entered as the user ID, the FTP server treats the login request as though the specified ... ANONYMOUS(FTPserver)statement UsetheANONYMOUSstatementto allowremoteuserstologinasanonymoususers. Youcanuse ANONYMOUSLEVEL,ANONYMOUSFILEACCESS,ANONYMOUSFILETYPESQL,ANONYMOUSFILETYPEJES, andANONYMOUSFILETYPESEQinconjunctionwithANONYMOUSLEVEL3torestrict anonymoususers'accesstodatasetsandfiles.UseANONYMOUSMVSINFO, ANONYMOUSLOGINMSG,ANONYMOUSHFSINFO,andEMAILADDRCHECKtocustomize theFTPsessionforanonymoususers. Requirement:If youchooseanANONYMOUSLEVELvaluegreaterthan1,andyouchoose STARTDIRECTORYHFS,youmustcreateananonymousdirectorystructure inthez/OS®UNIX.For moreinformationaboutconfiguringanonymous logins,seez/OSCommunicationsServer:IPConfiguration Guide. Syntax >>-ANONYMOUS--+-------------------+----------------------------><    +-user_id-----------+       +-user_id/password--+       '-user_id/SURROGATE-'    Parametersuser_id Thesecurityaccessfacility(SAF)identityoftheanonymoususer. WhenaremoteuserentersANONYMOUSasauserID,theFTPservertreats theloginrequestasthoughthespecifieduser_idwas enteredinsteadofANONYMOUS.Theuserispromptedforthepassword touser_id.Iftheuserentersthecorrect passwordorpasswordphrase,theuserisloggedinasthespecifieduser_id. IfyouareusingRACF®, thesystembuildsauseraccessorenvironmentelement(ACEE),and theANONYMOUSuserhasaccesstoanyresourcesavailabletothespecified userID. user_id/password Thesecurityaccessfacility(SAF)identityandpasswordtheFTP serverusesforanonymoususer.WhenaremoteuserentersANONYMOUS astheuserID,theFTPservertreatstheloginrequestasthough thespecifieduser_idwasenteredinstead ofANONYMOUS.TheFTPserverautomaticallyprovidesthepasswordfor thespecifieduser_idandtheuserislogged inasthespecifieduser_id.Ifyouare usingRACF,thesystembuilds theuserACEEforthespecifieduser_idand theANONYMOUSuserhasauthorizedaccesstothesameresourcesas thespecifieduser_id.IfANONYMOUSLEVEL 3isspecified,thebehaviorisdifferent.SeeANONYMOUSLEVEL(FTPserver)statementfordetails. Restriction: Donotcodeapasswordphraseaspassword. user_id/SURROGATE AllowsaremoteusertoenterANONYMOUSasauserID.When ANONYMOUSisenteredastheuserID,theFTPservertreatsthelogin requestasthoughthespecifieduser_IDwasenteredinsteadofANONYMOUS. TheFTPServercallsRACFand checksifthisuser_IDisallowedtologinwithoutapasswordorpassword phrase. Requirement:Inordertousethisoption, ANONYMOUSLEVELmustbegreaterorequalto3.SeeANONYMOUSLEVEL(FTPserver)statementfordetails. ExamplesAllowaremoteusertoenterANONYMOUS asauserIDandbeconnectedtotheserversystemwiththeuserID ofTERMABC:ANONYMOUSTERMABC/ILLBBACK Tip:IfyoucodeANONYMOUSLEVEL3inFTP.DATA,youcancodeadditional statementstoconfigureANONYMOUSsupportandsecurity.SeeRelated topicsformoreinformation. Requirements:IfyouspecifyauserIDontheANONYMOUSstatement,thatuser IDmustbedefinedandhaveaz/OSUNIXsegmentdefinedorsettothe defaultvalue. IfyoucodetheANONYMOUSstatementwithoutauserID,theuser IDANONYMOmustbedefinedandmusthaveaz/OSUNIXsegment definedorsettothedefaultvalue. Results:IfyoucodetheANONYMOUSstatementwithoutauserID:Theenduserisnotpromptedforapassword. IfyouareusingtheFTCHKPWDuserexit,theexitiscalledwithuserIDANONYMOandpassword*. IfANONYMOUSLEVEL3iscodedinFTP.DATAandtheFTPserverprompts theFTPclientforanemailaddress,theemailaddressispassedto theexitastheuserdataparameter. TheuserIDANONYMOandtheSTARTDIRECTORYstatementinFTP.DATA determinetheinitialworkingdirectory.Seeinitial workingdirectoryconsiderationsatthez/OSFTP serverinthez/OSCommunicationsServer:IPUser'sGuideand Commandsformoreinformation. TheinitialworkingdirectoryisANONYMOwhentheSTARTDIRECTORYMVS™statementiscodedinFTP.DATA. TheinitialworkingdirectoryisthehomedirectoryfortheANONYMO userIDwhentheSTARTDIRECTORYHFSstatementiscodedinFTP.DATA. IfyouareusingRACF, auserwhologsinas'anonymous'hasaccesstoanyresourcesaccessible totheANONYMOuserID. IfyoucodetheANONYMOUSstatementwithauserID,theuserID youcodedandtheSTARTDIRECTORYstatementdeterminetheinitialworking directory.Seeinitialworkingdirectory considerationsatthez/OSFTP serverinthez/OSCommunicationsServer:IPUser'sGuideand Commandsformoreinformation. ThereisnodefaultforANONYMOUS.IfyoudonotcodetheANONYMOUS statementinFTP.DATA,usersarenotallowedtologinanonymously. Seez/OSCommunicationsServer:IPConfiguration GuideformoreinformationaboutanonymousFTPlogins. Relatedtopics:ANONYMOUSLEVEL(FTPserver)statement ANONYMOUSFILEACCESS(FTPserver)statement ANONYMOUSFILETYPEJES(FTPserver)statement ANONYMOUSHFSFILEMODE(FTPserver)statement ANONYMOUSHFSDIRMODE(FTPserver)statement ANONYMOUSHFSINFO(FTPserver)statement ANONYMOUSLOGINMSG(FTPserver)statement ANONYMOUSMVSINFO(FTPserver)statement ANONYMOUSFILETYPESEQ(FTPserver)statement ANONYMOUSFILETYPESQL(FTPserver)statement EMAILADDRCHECK(FTPserver)statement STARTDIRECTORY(FTPserver)statement TheFTCHKPWDuserexit Parenttopic:FileTransferProtocol



請為這篇文章評分?