Security cert and Windows 2003 (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


jeffmetcalf -> Security cert and Windows 2003 (6/1/2007 15:51:46)

I know how to attach the cert to the web site I want protected, no biggy. My question is how do I go about just certifying some of the pages on the site? Right now the site is in dev, and all pages are http.

I need to certify the shopping cart pages and a few other pages within the site, but don't want to do a global redirect from http to https for the entire site. Navigation is done with Frontpage, but I could hand code it if necessary.

Thanks in advance.




coreybryant -> RE: Security cert and Windows 2003 (6/1/2007 16:41:34)

With SSL - it's either using SSL or it's not. Testing is done via https:// - if you need to - Comodo offers a free cert for 90 days I think while you work and test




rdouglass -> RE: Security cert and Windows 2003 (6/1/2007 19:34:34)

You can set just individual directories to require https if you want. The whole site doesn't have to be all SSL or nothing. But I don't believe you can distinguish down to the page.

At least that's how I've done it.




coreybryant -> RE: Security cert and Windows 2003 (6/2/2007 13:01:57)

I probably misunderstood as usual but if you want to do a page, I have used this code on a page before
<%
dim servPro 
servPro = Request.ServerVariables("HTTPS")

if servPro = "off" then
    response.redirect  "https://www.example.com/merchant-account/application.asp"
    response.end
end if

%>
to make sure it is called in a secure manner.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125