Ask a Question related to ASP.NET Security, Design and Development.
-
Craig Humphrey #1
ASP.NET and client certificates
Hi People,
I know in IIS Admin you can tick the box to request a client certificate
(over an SSL connection), but does anyone know of a way, programmatically,
to force this to happen for a particular page for a particular user?
Basically I've got a site that uses a common code base to run, however we
want to offer differing levels of security, primarily, with and without the
use of client certs, but I haven't found an easy way to do this
programmatically...
The hard way, that I've thought of is:
if a cert is required (in the DB) for the current user
if a cert has been presented by the browser
validate it
else
return an HTTP 401 and WWW-Authenticate : client cert
fi
fi
But I'd rather not be doing this.
The user is already authenticated using Forms authentication over an HTTPS
connection.
Any other ideas?
Later'ish
Craig
Craig Humphrey Guest
-
Using SSL Client Certificates
I am using HTTPS with Apache and ColdFusion MX7. The Apache server is set up to require client certificates from a specific CA. I need to find out... -
Client Certificates
Hi all. I'm implementing a Web Service and a Client that comunicate with SSL. The Client has a certificate that load with:... -
403 Error Web App to Web App with Client Certificates
Hi, I'm trying to write a ASP.NET application that calls another ASP.NET application using the HttpWebRequest class. I need to secure the... -
Client Side Certificates for Web Services?
Part 1: I have a simple web service. I would like to protect the web application by only allowing callers that have a client-side certificate... -
Using client certificates in ASP
Hi there, I have an ASP page, which have to connect to an SSL server that requires a client certificate, but I get the following error: ... -
[MSFT] #2
RE: ASP.NET and client certificates
Hi Craig,
You may consider following solution:
1. You have a web diretory "PA" which reqiure client certificate.
2. After form authentication, when you find the user need client
certificate, you can redirect him to an ASPX page in "PA"
3. In the ASPX page, you can check the HttpClientCertificate from request
object, and redirect it back.
Does this help?
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
[MSFT] Guest



Reply With Quote

