Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser Encryption Vaildation Script

Status
Not open for further replies.

jewel464g

Technical User
Jul 18, 2001
198
US
I need a script that will test the browser encrytion and if it isn't 128 then it will not let you in the site. Anyone know where I can find something like this?

When faced with a decision, always ask, 'Which would be the most fun?'
 
Does this help??

<%
If Request.ServerVariables(&quot;SERVER_PORT&quot;)=80 Then
Dim strSecureURL
strSecureURL = &quot; strSecureURL = strSecureURL & Request.ServerVariables(&quot;SERVER_NAME&quot;)
strSecureURL = strSecureURL & Request.ServerVariables(&quot;URL&quot;)
Response.Redirect strSecureURL
End If
%>

This will check if the page is non encrypted (ie. HTTP not HTTPS), and if it finds that then it will redirect to the HTTPS version of the page. I don't know if this helps you, hope it does, I'm not sure how you'd check for encryption

-Altis Design
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top