The invention provides a web authentication method to support HTTPS page jump. When a user visits the target web site in a browser, the following processes are carried out: S1, computer access request; S2, data redirection, using DNA T to redirect the data packet to the local Goahead authentication server supporting HTTPS protocol. The Goahead authentication server disguises the server of the target web site and the user owner. The machine establishes TCP and SSL connections to carry out data transmission; S3, confirmation and release strategy, Goahead authentication server disguises the server of the target address to send authentication pages to the user browser. After the user enters the user name and password, if it is correct, it will jump to the designated address or the page previously visited according to the function of Web authentication settings. The beneficial effect of the present invention is to provide a web authentication method, which overcomes the problem that the existing web authentication can not support HTTPS protocol page jump.
【技术实现步骤摘要】
一种支持HTTPS页面跳转的web认证方法
本专利技术涉及web认证方法,尤其涉及一种支持HTTPS页面跳转的web认证方法。
技术介绍
现有传统的web认证实现方案:当用户使用浏览器请求网络资源时,若web服务器使用HTTP协议,浏览器则跳转至认证页面,用户在跳转的页面上进行上网认证;若web服务器使用HTTPS协议浏览器则无法跳转至认证页面,用户期望请求的资源也不能在页面上正常加载,极大的影响了用户的体验。随着越来越多的web服务器采用更安全的HTTPS协议,当前web认证方法的弊端日益明显。因此,如何提供一种可以支持HTTPS协议的web认证,是本领域技术人员所亟待解决的技术问题。
技术实现思路
为了解决现有技术中的问题,本专利技术提供了一种支持HTTPS页面跳转的web认证方法。本专利技术提供了一种支持HTTPS页面跳转的web认证方法,当用户在浏览器访问目标网址时,进行如下流程:S1、计算机访问请求,用户在浏览器输出目标网址,数据包经过portal模块时,判断该用户是否需要进行认证操作,如果需要,则进入下一步骤,如果不需要则放行;S2、数据重定向,使用DNAT的方式把数据包重定向到本地支持HTTPS协议的Goahead认证服务器,Goahead认证服务器伪装成目标网址的服务器与用户主机建立TCP、SSL连接,进行数据传输;S3、确认和放行策略,Goahead认证服务器伪装成目标网址的服务器发送认证页面到用户浏览器,用户输入用户名和密码后,若正确则按照Web认证设置的功能跳转到指定网址或者之前所访问的页面。作为本专利技术的进一步改进,在步骤S1中,当有 ...
【技术保护点】
1.一种支持HTTPS页面跳转的web认证方法,当用户在浏览器访问目标网址时,其特征在于,进行如下流程:S1、计算机访问请求,用户在浏览器输出目标网址,数据包经过portal模块时,判断该用户是否需要进行认证操作,如果需要,则进入下一步骤,如果不需要则放行;S2、数据重定向,使用DNAT的方式把数据包重定向到本地支持HTTPS协议的Goahead认证服务器,Goahead认证服务器伪装成目标网址的服务器与用户主机建立TCP、SSL连接,进行数据传输;S3、确认和放行策略,Goahead认证服务器伪装成目标网址的服务器发送认证页面到用户浏览器,用户输入用户名和密码后,若正确则按照Web认证设置的功能跳转到指定网址或者之前所访问的页面。
【技术特征摘要】
1.一种支持HTTPS页面跳转的web认证方法,当用户在浏览器访问目标网址时,其特征在于,进行如下流程:S1、计算机访问请求,用户在浏览器输出目标网址,数据包经过portal模块时,判断该用户是否需要进行认证操作,如果需要,则进入下一步骤,如果不需要则放行;S2、数据重定向,使用DNAT的方式把数据包重定向到本地支持HTTPS协议的Goahead认证服务器,Goahead认证服务器伪装成目标网址的服务器与用户主机建立TCP、SSL连接,进行数据传输;S3、确认和放行策略,Goahea...
【专利技术属性】
技术研发人员:高保亮,张海涛,曾凡帆,黄石勇,匡道珍,
申请(专利权)人:深圳市吉祥腾达科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。