Home All Groups Group Topic Archive Search About
Author
22 Jun 2006 10:32 AM
Thom Little
I have an ASP.NET 1.1 application on a Windows 2000 Server that can be
accessed as ...

http://name.tld or https://name.tld .

How can I force it to disallow the http access and only permit the https
access?

--
--  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
--

Author
22 Jun 2006 10:44 PM
Ken Schaefer
There is an option in IIS Manager: right-click the site/folder/file you wish
to secure -> properties -> security tab -> edit ssl security -> check the
"require SSL" checkbox.

Cheers
Ken


Show quoteHide quote
"Thom Little" <t***@tlanet.net> wrote in message
news:uKEK3celGHA.3528@TK2MSFTNGP02.phx.gbl...
>I have an ASP.NET 1.1 application on a Windows 2000 Server that can be
>accessed as ...
>
> http://name.tld or https://name.tld .
>
> How can I force it to disallow the http access and only permit the https
> access?
>
> --
> --  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
> --
>
>
>
Author
23 Jun 2006 12:20 PM
Thom Little
I was finally able to get the owner of the server to set it as you suggested
so I could try it out.

It does exactly what I need.

Thank you.

The following code in my application pages forces it to connect with HTTPS
and is no longer needed...

private void Page_Load(object sender, System.EventArgs e)
    {
    if ( Request.Url.ToString( ).StartsWith( "http://" ) )
        Response.Redirect( Request.Url.ToString( ).Replace( "http://",
"https://" ) );
    }

--
--  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
--

Show quoteHide quote
"Ken Schaefer" <kenREM***@THISadOpenStatic.com> wrote in message
news:%23MxFD4klGHA.3588@TK2MSFTNGP02.phx.gbl...
> There is an option in IIS Manager: right-click the site/folder/file you
> wish to secure -> properties -> security tab -> edit ssl security -> check
> the "require SSL" checkbox.
>
> Cheers
> Ken
>
>
> "Thom Little" <t***@tlanet.net> wrote in message
> news:uKEK3celGHA.3528@TK2MSFTNGP02.phx.gbl...
>>I have an ASP.NET 1.1 application on a Windows 2000 Server that can be
>>accessed as ...
>>
>> http://name.tld or https://name.tld .
>>
>> How can I force it to disallow the http access and only permit the https
>> access?
>>
>> --
>> --  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
>> --
>>
>>
>>
>
>