Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   http to https switching (http://www.velocityreviews.com/forums/t583243-http-to-https-switching.html)

LVP 01-08-2008 08:34 PM

http to https switching
 
Hello,

What are the ways to switch from http to https.

Is there a way internal to IIS 6.0 or x.xx? Some configuration?
Is there a way via DNS?

I have seen Scripts in VB and JavaScript

What are my choices when the website has multiple entry points.

We are running IIS 6.0 on Win2K3 using CRM

Thank you,

LVP




George Ter-Saakov 01-08-2008 09:07 PM

Re: http to https switching
 
A bit confused by your question.
https implies that browser had send server information encrypted.

So you can not do "internal" switching. You can always check
Request.IsSecureConnection and redirect to secured version with https if
you need to

George.


"LVP" <lvp_agentman@hotmail.com> wrote in message
news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...
> Hello,
>
> What are the ways to switch from http to https.
>
> Is there a way internal to IIS 6.0 or x.xx? Some configuration?
> Is there a way via DNS?
>
> I have seen Scripts in VB and JavaScript
>
> What are my choices when the website has multiple entry points.
>
> We are running IIS 6.0 on Win2K3 using CRM
>
> Thank you,
>
> LVP
>
>
>




LVP 01-08-2008 09:53 PM

Re: http to https switching
 
George,

Sorry for the confusion.

when a user types: http:\\www.mysecurewebsite.com I want them to be
directed to https://www.mysecurewebsite.com
I have done this on two of my websites.
when a website has multiple entries and I have no control of the website
code at all I need to redirect the user to the https in the easiest way
possible

Is there a way internal to IIS 6.0 or x.xx? Some configuration?
Is there a way via DNS?

I have seen Scripts in VB and JavaScript

What are my choices when the website has multiple entry points.

We are running IIS 6.0 on Win2K3 using CRM

Any more questions please let me know

Thank You,

LVP


"George Ter-Saakov" <gt-nsp@cardone.com> wrote in message
news:e4Ws%23pjUIHA.1204@TK2MSFTNGP03.phx.gbl...
>A bit confused by your question.
> https implies that browser had send server information encrypted.
>
> So you can not do "internal" switching. You can always check
> Request.IsSecureConnection and redirect to secured version with https if
> you need to
>
> George.
>
>
> "LVP" <lvp_agentman@hotmail.com> wrote in message
> news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> What are the ways to switch from http to https.
>>
>> Is there a way internal to IIS 6.0 or x.xx? Some configuration?
>> Is there a way via DNS?
>>
>> I have seen Scripts in VB and JavaScript
>>
>> What are my choices when the website has multiple entry points.
>>
>> We are running IIS 6.0 on Win2K3 using CRM
>>
>> Thank you,
>>
>> LVP
>>
>>
>>

>
>




Mark Rae [MVP] 01-08-2008 10:22 PM

Re: http to https switching
 
"LVP" <lvp_agentman@hotmail.com> wrote in message
news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...

> What are the ways to switch from http to https.


This is all you need:
http://www.codeproject.com/KB/web-se...curity_v2.aspx


--
Mark Rae
ASP.NET MVP
http://www.markrae.net


LVP 01-08-2008 11:19 PM

Re: http to https switching
 
Thanks Mark,

I read the article and there are some issues noted in the discussion.
I wonder if there is a concrete solution with less configuration.

The big cheese/wig wants it done in less than 48 hours on production without
testing or leaving very little time for testing.
How to convince the monster not the monkey around I don't know.

Thanks

LVP


"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:ueyv5TkUIHA.1744@TK2MSFTNGP05.phx.gbl...
> "LVP" <lvp_agentman@hotmail.com> wrote in message
> news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...
>
>> What are the ways to switch from http to https.

>
> This is all you need:
> http://www.codeproject.com/KB/web-se...curity_v2.aspx
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net




Naraendirakumar R.R. 01-09-2008 09:08 AM

Re: http to https switching
 
LVP:
If you are looking for a quick hack ... This is a decent one
http://blog.kyanmedia.com/archives/2...tps_in_iis_60/

An alternative, does your company use a network load balancer or firewall in
front of your web servers? If so, you might be able to solve it there.
Most NLB/firewalls have a built in feature to push http traffic to use
https.

Hope this helps.

-Naraen
http://naraen.spaces.live.com


"LVP" <lvp_agentman@hotmail.com> wrote in message
news:OJNf9zkUIHA.1164@TK2MSFTNGP02.phx.gbl...
> Thanks Mark,
>
> I read the article and there are some issues noted in the discussion.
> I wonder if there is a concrete solution with less configuration.
>
> The big cheese/wig wants it done in less than 48 hours on production
> without testing or leaving very little time for testing.
> How to convince the monster not the monkey around I don't know.
>
> Thanks
>
> LVP
>
>
> "Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
> news:ueyv5TkUIHA.1744@TK2MSFTNGP05.phx.gbl...
>> "LVP" <lvp_agentman@hotmail.com> wrote in message
>> news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...
>>
>>> What are the ways to switch from http to https.

>>
>> This is all you need:
>> http://www.codeproject.com/KB/web-se...curity_v2.aspx
>>
>>
>> --
>> Mark Rae
>> ASP.NET MVP
>> http://www.markrae.net

>
>




Mark Rae [MVP] 01-09-2008 10:15 AM

Re: http to https switching
 
"LVP" <lvp_agentman@hotmail.com> wrote in message
news:OJNf9zkUIHA.1164@TK2MSFTNGP02.phx.gbl...

> I wonder if there is a concrete solution with less configuration.


I'm not sure how much less configuration you could want...

You simply add the DLL to your project and then make a few modifications to
web.config...

> The big cheese/wig wants it done in less than 48 hours


It should take no longer than five minutes...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net


LVP 01-09-2008 03:57 PM

Re: http to https switching
 
thank you for you input,

You miss understood me.
I think it is irresponsible to change something in 5 minutes then deploy it
on production without any thorough testing.

I don't have full trust of the solution yet. it might be the perfect one.

Thanks again

LVP



"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:eb$w9hqUIHA.476@TK2MSFTNGP03.phx.gbl...
> "LVP" <lvp_agentman@hotmail.com> wrote in message
> news:OJNf9zkUIHA.1164@TK2MSFTNGP02.phx.gbl...
>
>> I wonder if there is a concrete solution with less configuration.

>
> I'm not sure how much less configuration you could want...
>
> You simply add the DLL to your project and then make a few modifications
> to web.config...
>
>> The big cheese/wig wants it done in less than 48 hours

>
> It should take no longer than five minutes...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net




Mark Rae [MVP] 01-09-2008 04:47 PM

Re: http to https switching
 
"LVP" <lvp_agentman@hotmail.com> wrote in message
news:O0RXZhtUIHA.5288@TK2MSFTNGP04.phx.gbl...

> "Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
> news:eb$w9hqUIHA.476@TK2MSFTNGP03.phx.gbl...
>> "LVP" <lvp_agentman@hotmail.com> wrote in message
>> news:OJNf9zkUIHA.1164@TK2MSFTNGP02.phx.gbl...
>>
>>> I wonder if there is a concrete solution with less configuration.

>>
>> I'm not sure how much less configuration you could want...
>>
>> You simply add the DLL to your project and then make a few modifications
>> to web.config...
>>
>>> The big cheese/wig wants it done in less than 48 hours

>>
>> It should take no longer than five minutes...


> You misunderstood me.


Likewise, I think...

> I think it is irresponsible to change something in 5 minutes then deploy
> it on production without any thorough testing.


So do I, and that's not in fact what I said...

When I mentioned five minutes, I was referring to the time required to do
the configuration, not the testing...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net


LVP 01-10-2008 05:23 PM

Re: http to https switching
 
Naraendirakumar,

This works but

the Change the Message Type to URL does not work, I had to use <File>
Also getting security challenge dialog, which is site related.

When using URL I get File can not be displayed, so it tried to redirect but
fails to see the file.
Not sure why.

Any ways, File works for now
Might try different solutions.

Thanks,

LVP


"Naraendirakumar R.R." <nospam@nospam.com> wrote in message
news:uNsE0$pUIHA.4752@TK2MSFTNGP05.phx.gbl...
> LVP:
> If you are looking for a quick hack ... This is a decent one
> http://blog.kyanmedia.com/archives/2...tps_in_iis_60/
>
> An alternative, does your company use a network load balancer or firewall
> in front of your web servers? If so, you might be able to solve it there.
> Most NLB/firewalls have a built in feature to push http traffic to use
> https.
>
> Hope this helps.
>
> -Naraen
> http://naraen.spaces.live.com
>
>
> "LVP" <lvp_agentman@hotmail.com> wrote in message
> news:OJNf9zkUIHA.1164@TK2MSFTNGP02.phx.gbl...
>> Thanks Mark,
>>
>> I read the article and there are some issues noted in the discussion.
>> I wonder if there is a concrete solution with less configuration.
>>
>> The big cheese/wig wants it done in less than 48 hours on production
>> without testing or leaving very little time for testing.
>> How to convince the monster not the monkey around I don't know.
>>
>> Thanks
>>
>> LVP
>>
>>
>> "Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
>> news:ueyv5TkUIHA.1744@TK2MSFTNGP05.phx.gbl...
>>> "LVP" <lvp_agentman@hotmail.com> wrote in message
>>> news:egtDQXjUIHA.1744@TK2MSFTNGP05.phx.gbl...
>>>
>>>> What are the ways to switch from http to https.
>>>
>>> This is all you need:
>>> http://www.codeproject.com/KB/web-se...curity_v2.aspx
>>>
>>>
>>> --
>>> Mark Rae
>>> ASP.NET MVP
>>> http://www.markrae.net

>>
>>

>
>





All times are GMT. The time now is 02:06 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57