473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

http to https switching

LVP
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

Jan 8 '08 #1
9 2702
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" <lv**********@hotmail.comwrote in message
news:eg**************@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

Jan 8 '08 #2
LVP
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****@cardone.comwrote in message
news:e4****************@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" <lv**********@hotmail.comwrote in message
news:eg**************@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


Jan 8 '08 #3
"LVP" <lv**********@hotmail.comwrote in message
news:eg**************@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

Jan 8 '08 #4
LVP
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]" <ma**@markNOSPAMrae.netwrote in message
news:ue**************@TK2MSFTNGP05.phx.gbl...
"LVP" <lv**********@hotmail.comwrote in message
news:eg**************@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

Jan 8 '08 #5
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" <lv**********@hotmail.comwrote in message
news:OJ**************@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]" <ma**@markNOSPAMrae.netwrote in message
news:ue**************@TK2MSFTNGP05.phx.gbl...
>"LVP" <lv**********@hotmail.comwrote in message
news:eg**************@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


Jan 9 '08 #6
"LVP" <lv**********@hotmail.comwrote in message
news:OJ**************@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

Jan 9 '08 #7
LVP
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]" <ma**@markNOSPAMrae.netwrote in message
news:eb*************@TK2MSFTNGP03.phx.gbl...
"LVP" <lv**********@hotmail.comwrote in message
news:OJ**************@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

Jan 9 '08 #8
"LVP" <lv**********@hotmail.comwrote in message
news:O0**************@TK2MSFTNGP04.phx.gbl...
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:eb*************@TK2MSFTNGP03.phx.gbl...
>"LVP" <lv**********@hotmail.comwrote in message
news:OJ**************@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

Jan 9 '08 #9
LVP
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." <no****@nospam.comwrote in message
news:uN**************@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" <lv**********@hotmail.comwrote in message
news:OJ**************@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]" <ma**@markNOSPAMrae.netwrote in message
news:ue**************@TK2MSFTNGP05.phx.gbl...
>>"LVP" <lv**********@hotmail.comwrote in message
news:eg**************@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



Jan 10 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: fartsniff | last post by:
hello all. currently, this is how a line of my form is setup (names have been changed to protect the innocent ;) <form action="/modules.php?name=buyme&file=index&func=gimmecash" method="post">...
1
by: Kenneth Keeley | last post by:
Hi I wish to have a web site that has most of the pages as normal HTTP pages but has some areas that use HTTPS. I want to have it that if a user selects a link to a HTTPS page that they go there...
12
by: Grunff | last post by:
I'm experiencing an interesting problem with carrying a php session over from http to https. Much googling later, I'm still stuck. The application is an online shop, where some user data is...
1
by: Darren Clark | last post by:
I am just about to start work on the ecommerce section of our site and need some advise please Currently people are able to create a login to the site and they have lots of functionality that...
1
by: Fenno | last post by:
I am creating an ASP.NET project that contains some pages that require a secure connection via HTTPS/SSL. The problem I have is how do you maintain session data when switching between HTTPS and...
2
by: Mark Rae | last post by:
Hi, I'm presently upgrading a v1.1 ASP.NET app to v2. Parts of site run under SSL and parts don't, and the site uses this code: http://www.codeproject.com/aspnet/WebPageSecurity.asp to...
14
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to...
4
by: totalstranger | last post by:
My Bluehost site is setup with a dedicated IP address, Rapid SSL certificate, PHP 5 and FastCGI is set on. When switching between HTTP and HTTPS I was under the impression the Session Data was...
1
by: cbright | last post by:
I have a very weird problem with our site at https://store.canoegame.com. For many users the site is working as it should however for a few it is not. One of the bigger problems is the fact that,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.