Customizingfontfamily

fontfamily  时间:2021-02-18  阅读:()
ConfigurationGuideforH3CSSLVPNLoginPageCustomization1OverviewThisfunctionallowsyoutocustomizetheloginpageforcommonusersasneeded.
Forexample,youcancustomizetheloginparameterstobedisplayedontheloginpage,suchastheusername,password,andauthenticationmethod.
ThisdocumentdescribesthecompleteoperationprocedureforyoutocustomizetheSSLVPNloginpage,andtherulesthatyoumustfollowtocustomizetheloginpage.
2LoginPageCustomizationProcedureFollowthesestepstocustomizetheSSLVPNloginpageforcommonusers:1)Defineacustompage,whichusuallyincludesoneormorehtmfiles,jsfiles,cssfiles,and/orpicturefiles.
2)Telnettothedevice,createadirectoryunderdirectoryflash:/domainNorcf0:/domainN(Nisthenumberofadomain),anduploadthefilesofthecustompagetothecreateddirectorythroughTFTPorFTP.
Forexample,ifyouaretheadministratorofdomain1andwanttosavethefilesintotheflashoftheSecBladeSSLVPNcard,youcancreateadirectorynamedwww/loginunderflash:/domain1,namelythedirectoryflash:/domain1/www/login.
TheSecBladeSSLVPNcardsupportsmultipledomains,andsupportstheflashstoragemediumandtheCFstoragemedium.
Thefollowingfigureshowsthefilesforasamplecustompage.
Thefileuser.
htmistheloginpageforusers.
3)LogintotheSSLVPNasanadministrator,selectDevice>DeviceManagementfromthenavigationtree,andthenselecttheUICustomizingtabandclickFullcustomization.
SelecttheCommonUserLoginPageoption,andthenspecifythecustompagedirectoryandtheloginpagefile,asshowninthefollowingfigures.
Figure2-1SecBladeSSLVPNFigure2-2SecPathSSLVPN4)Savethedomainconfigurationfile,andthenrestartthedomainortheSVPNservicetovalidatetheloginpagecustomization.
3PageCustomizationRulesThecustomizedloginpagemustbeanhtmfile,whichcanreferencejavascript,css,andpicturefiles.
Therearenorestrictionsonthepage'sappearance,butthefollowingcoderequirementsmustbesatisfiedforpropercooperationwiththegateway:1)IfajavascriptorCSSfileisreferencedintheloginpage,thejavascriptorCSSfilemustbeunderthecorrespondingdirectoryinred:2)Ifapicturefileisreferencedintheloginpageorthepagebackgroundfileisapicturefile,thefilesmustbeunderthecorrespondingdirectoryinred:3)Theloginparameterstobesubmittedbyausermainlyincludetheusername,password,authenticationmethod,andlogindomain.
Theusernameandpasswordfieldshavealengthlimitandcanonlyacceptcertaincharacters.
Theauthenticationmethodandlogindomainfieldsmustbeconsistentwiththesystemconfiguration.
Thefollowinggivesanexampleforconfigurationoftheseloginparameters.
localdomain1ParameterNameValidcharactersandvaluesLengthDeviceUsernametxtUsrNameDigits(0-9),letters(a-z),spaces,dots(.
),hyphens(-),andunderscores(_)1-55SecBladeSSLVPN,SecPathSSLVPNPasswordtxtPasswordVisiblecharacters1-63SecBladeSSLVPN,SecPathSSLVPNAuthenticationmethodauthmethodThevalueofthisfieldcanbe1,2,4,8,or9,representinglocal,RADIUS,LDAP,AD,andCombined.
Inthisexample,thedefaultvalueis1,whichmeansthedefaultauthenticationmethodislocal.
Youcanchangethedefaultvalueasneeded.
1SecBladeSSLVPN,SecPathSSLVPNLogindomainselDomainThevalueisthedomainnumber.
Inthisexample,thelogindomainnumberis1,andthedomainnameisdomain1.
Youcanmodifythelogindomainconfigurationasneeded.
3SecBladeSSLVPN4)TheCGIdirectorythattheclientsubmitsmustbe"/svpn/vpnuser/login_submit.
cgi".
5)ProvidealinkforuserstodownloadtheActiveXcontrol,inthisformat:ActiveXControlNote:Thecontentsinred(after/svpn)mustbeconsistentwiththecustompagestoragedirectoryconfiguredinLoginPageCustomizationProcedure.
Ifallusersinadomainusethesameauthenticationmethod,youcansettheauthenticationmethodfieldinvisibletousers.
Theadministratorofadomaincustomizestheloginpageforthedomainindependently.
Thelogindomainfieldcanalsobesetinvisibletousers.
Seethefollowingsourcecodesforreferences.
4SampleSourceCodesforaCustomPageH3CSSLVPNLoginPageDIV.
bar{background:d6000f;OVERFLOW:hidden;WIDTH:100%;HEIGHT:5px;TEXT-OVERFLOW:ellipsis;}body{font-size:11px;margin-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;background-color:#FFFFFF;font-family:Verdana,Arial,Helvetica,sans-serif;}.
WelcomeFont{font-weight:bold;font-size:32px;font-family:Arial;}.
boldSize12Font{font-weight:bold;font-size:12px;font-family:Arial;}.
tabHeadWhite{font-weight:bold;font-size:12px;font-family:Arial;color:#FFFFFF;}.
smallNormalFont{font-size:12px;font-family:Verdana,Arial,Tahoma;}.
button{BORDER:1pxridge;WIDTH:88px;HEIGHT:22px;FONT:9ptArial;PADDING-BOTTOM:0px;PADDING-TOP:0px;BACKGROUND-COLOR:#F2F2ED;}functiononApply(){varobj=document.
getElementById("ID_frmLogin");obj.
action="/svpn/vpnuser/login_submit.
cgi";obj.
submit();return;}WelcometotheSSLVPNLoginPage Login Username PasswordAuthenticationMethodlocalDomaindomain1  DownloadandInstall Ifthisisyourfirstlogin,pleaseclickthefollowinglinktoinstalltheActiveXcontrol:ActiveXControlTheloginpagewillbedisplayedasfollows:

Gcorelabs:美国GPU服务器,8路RTX2080Ti;2*Silver-4214/256G内存/1T SSD,1815欧/月

gcorelabs怎么样?gcorelabs是创建于2011年的俄罗斯一家IDC服务商,Gcorelabs提供优质的托管服务和VPS主机服务,Gcorelabs有一支强大的技术队伍,对主机的性能和稳定性要求非常高。Gcorelabs在 2017年收购了SkyparkCDN并提供全球CDN服务,目标是进入全球前五的网络服务商。G-Core Labs总部位于卢森堡,在莫斯科,明斯克和彼尔姆设有办事处。...

SunthyCloud阿里云国际版分销商注册教程,即可PayPal信用卡分销商服务器

阿里云国际版注册认证教程-免绑卡-免实名买服务器安全、便宜、可靠、良心,支持人民币充值,提供代理折扣简介SunthyCloud成立于2015年,是阿里云国际版正规战略级渠道商,也是阿里云国际版最大的分销商,专业为全球企业客户提供阿里云国际版开户注册、认证、充值等服务,通过SunthyCloud开通阿里云国际版只需要一个邮箱,不需要PayPal信用卡就可以帮你开通、充值、新购、续费阿里云国际版,服务...

香港CN2云服务器 1核 2G 35元/月 妮妮云

妮妮云的来历妮妮云是 789 陈总 张总 三方共同投资建立的网站 本着“良心 便宜 稳定”的初衷 为小白用户避免被坑妮妮云的市场定位妮妮云主要代理市场稳定速度的云服务器产品,避免新手购买云服务器的时候众多商家不知道如何选择,妮妮云就帮你选择好了产品,无需承担购买风险,不用担心出现被跑路 被诈骗的情况。妮妮云的售后保证妮妮云退款 通过于合作商的友好协商,云服务器提供2天内全额退款到网站余额,超过2天...

fontfamily为你推荐
无线路由器限速设置无线路由器速度如何设置?无线路由器限速设置如何设置无线路由器局域网限速?打开网页出现错误网页出现错误怎么解决?要最简单的那种http与https的区别http和https到底有什么区别啊???网站联盟百度网盟是什么,怎么加入网店推广网站什么平台适合做淘宝店铺推广直播加速手机上什么软件可以帮助直播加速,大神们推荐推荐qq怎么发邮件用QQ怎样发送文件畅想中国淄博畅想中国消费怎么样人人逛街包公免费逛街打一成语
企业域名备案 域名解析文件 lamp fdcservers 便宜域名 linode代购 网络星期一 sub-process xfce 帽子云 免费申请网站 美国堪萨斯 河南移动m值兑换 空间购买 服务器是干什么用的 万网主机管理 宏讯 免费asp空间 个人免费邮箱 华为k3 更多