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:
御云怎么样?炎炎暑期即将来临,御云(royalyun)香港、美国服务器开启大特惠模式。御云是新成立的云服务提供商,主要提供香港、美国的云服务器,不久将开启虚拟主机业务。我们的香港和美国主机采用CN2 GIA线路。目前,香港cn2 gia vps仅7.9元每月起,美国vps仅8.9/月,续费同价,可叠加优惠,香港云服务器国内延迟一般在50ms左右,是搭建网站的最佳选择,但是请不要用于违法用途。点击进...
Hostodo在九月份又发布了两款特别套餐,开设在美国拉斯维加斯、迈阿密和斯波坎机房,基于KVM架构,采用NVMe SSD高性能磁盘,最低1.5GB内存8TB月流量套餐年付34.99美元起。Hostodo是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,美国三个地区机房,支持支付宝或者PayPal、加密货币等付款。下面列出这两款主机配置信息。CP...
亚洲云Asiayun怎么样?亚洲云Asiayun好不好?亚洲云成立于2021年,隶属于上海玥悠悠云计算有限公司(Yyyisp),是一家新国人IDC商家,且正规持证IDC/ISP/CDN,商家主要提供数据中心基础服务、互联网业务解决方案,及专属服务器租用、云服务器、云虚拟主机、专属服务器托管、带宽租用等产品和服务。Asiayun提供源自大陆、香港、韩国和美国等地骨干级机房优质资源,包括B...
fontfamily为你推荐
weipin唯品金融是什么?大家基本都怎么用呢?google竞价排名google关键字广告和百度排名有什么区别,又有什么相同点?站长故事科学家的故事200字镜像文件是什么什么是镜像文件啊安卓应用平台现在android平台的手机都有哪些?童之磊湖北中文在线数字出版有限公司怎么样?雅虎天盾我机器上有瑞星杀毒和防火墙 我用雅虎天盾来查杀木马怎样?安装迅雷看看播放器迅雷看看不能播放,说我尚未安装迅雷看看播放器ios系统ios系统和安卓系统对比起来有什么优点和缺点?iphone6上市时间苹果六什么时候出的
电信服务器租用 zpanel 加勒比群岛 外贸主机 英语简历模板word 三拼域名 智能骨干网 空间论坛 域名评估 免费防火墙 傲盾官网 美国网站服务器 河南移动m值兑换 独享主机 英雄联盟台服官网 1美元 卡巴斯基官网下载 卡巴斯基试用版下载 双十二促销 mteam 更多