Allowing access to a web service only via SSL
From: Craig HB (CraigHB_at_discussions.microsoft.com)
Date: 11/24/04
- Next message: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Previous message: Drew Marsh: "Re: Execute stored procedure via web method."
- Next in thread: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Reply: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 15:03:02 -0800
I have a web service that I only want users to access via SSL. I am looking
for a way to test whether the client is using https and not http.
I was told that I could this with : if
request.servervariables("server_port") = 443 then. But the code is in a .asmx
page and it doesn't recognise the request object.
Any help would be appreciated,
Craig
- Next message: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Previous message: Drew Marsh: "Re: Execute stored procedure via web method."
- Next in thread: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Reply: Drew Marsh: "Re: Allowing access to a web service only via SSL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|