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:
提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...
近日Friendhosting发布了最新的消息,新上线了美国迈阿密的云产品,之前的夏季优惠活动还在进行中,全场一次性45折优惠,最高可购买半年,超过半年优惠力度就不高了,Friendhosting商家的优势就是100Mbps带宽不限流量,有需要的朋友可以尝试一下。Friendhosting怎么样?Friendhosting服务器好不好?Friendhosting服务器值不值得购买?Friendho...
Fiberia.io是个新站,跟ViridWeb.com同一家公司的,主要提供基于KVM架构的VPS主机,数据中心在荷兰Dronten。商家的主机价格不算贵,比如4GB内存套餐每月2.9美元起,采用SSD硬盘,1Gbps网络端口,提供IPv4+IPv6,支持PayPal付款,有7天退款承诺,感兴趣的可以试一试,年付有优惠但建议月付为宜。下面列出几款主机配置信息。CPU:1core内存:4GB硬盘:...
fontfamily为你推荐
百度k站被百度k站之后你一般是怎么处理的无线路由器限速设置无线路由器能设置限速吗?或者说那个牌子的能。打开网页出现错误显示网页上错误,打不开网页怎么办ghostxp3ghost xp sp3 和 windows xp3有啥区别公章制作制作公章尺寸标准大小,字体,字号?手机区号手机号码申请证书手机申请证书童之磊湖北中文在线数字出版有限公司怎么样?网易公开课怎么下载如何将网易公开课下载到电脑上?怎么升级ios6苹果IOS5怎么升级IOS6版本
域名商 外贸主机 免费主机 idc测评网 云图标 华为4核 全站静态化 40g硬盘 193邮箱 广州服务器 cdn加速是什么 免费智能解析 免费网页申请 卡巴斯基是免费的吗 常州联通宽带 台湾google 空间登入 外贸空间 cxz 免费的域名 更多