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:

ZJI(月付450元),香港华为云线路服务器、E3服务器起

ZJI发布了9月份促销信息,针对香港华为云线路物理服务器华为一型提供立减300元优惠码,优惠后香港华为一型月付仅450元起。ZJI是原来Wordpress圈知名主机商家:维翔主机,成立于2011年,2018年9月更名为ZJI,提供中国香港、台湾、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册等业务,商家所选数据中心均为国内访问质量高的机房和线路,比如香港阿里云、华为...

飞讯云E5-2678V3 64GB,湖北十堰100G高防物理机330元/月

飞讯云官网“飞讯云”是湖北飞讯网络有限公司旗下的云计算服务品牌,专注为个人开发者用户、中小型、大型企业用户提供一站式核心网络云端部署服务,促使用户云端部署化简为零,轻松快捷运用云计算。飞讯云是国内为数不多具有ISP/IDC双资质的专业云计算服务商,同时持有系统软件著作权证书、CNNIC地址分配联盟成员证书,通过了ISO27001信息安全管理体系国际认证、ISO9001质量保证体系国际认证。 《中华...

RackNerd:便宜vps补货/1核/768M内存/12G SSD/2T流量/1G带宽,可选机房圣何塞/芝加哥/达拉斯/亚特拉大/荷兰/$9.49/年

RackNerd今天补货了3款便宜vps,最便宜的仅$9.49/年, 硬盘是SSD RAID-10 Storage,共享G口带宽,最低配给的流量也有2T,注意,这3款补货的便宜vps是intel平台。官方网站便宜VPS套餐机型均为KVM虚拟,SolusVM Control Panel ,硬盘是SSD RAID-10 Storage,共享G口带宽,大流量。CPU:1核心内存:768 MB硬盘:12 ...

fontfamily为你推荐
伪静态什么是伪静态ps抠图技巧如何使用PS抠图淘宝店推广如何推广淘宝店godaddyGO DADDY服务器空间域名怎么样qq怎么发邮件用QQ怎样发送文件商标注册查询官网如何在网上查询商标是否注册?商标注册查询官网商标注册网的官网是哪个?电子商务网站模板网页制作模板虚拟机软件下载谁有虚拟机软件的网址要好用的中国杀毒软件排行榜谁知道世界杀毒软件排名?
域名注册godaddy 查询ip地址 sharktech asp.net主机 英语简历模板word java空间 申请个人网站 炎黄盛世 有奖调查 域名和空间 isp服务商 多线空间 新睿云 路由跟踪 smtp服务器地址 国外的代理服务器 主机返佣 空间申请 免费获得q币 腾讯云平台 更多