473,320 Members | 1,820 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,320 software developers and data experts.

https connection?

Hi all,

Two questions:

How can I force the use of an https connection for a first
password site?

What is the best way to prevent direct access to the pages
behind this password site?

Thanks in advance

Jenny
Nov 17 '05 #1
2 5257
Hi,

1) yes, you can set that up in IIS.First you need to install the SSL
certificate inside IIS, then you go to 'directory security', edit and switch
on the 'require secure channel (SSL)' checkbox.

2) If you are just talking about ASPX pages, the built-in security of
ASP.NET is just fine. So you setup your web.config file to Forms
authentication, deny access for users who are not logged in and allow access
for authenticated users.

There are two nice papers about this in case you are interested:

http://msdn.microsoft.com/library/de...cnetlpMSDN.asp

http://msdn.microsoft.com/library/de...haspdotnet.asp

Best regards,

Marc Hoeppner
NeoGeo

"Jenny" <j.********@SPAMx-mail.net> wrote in message
news:09****************************@phx.gbl...
Hi all,

Two questions:

How can I force the use of an https connection for a first
password site?

What is the best way to prevent direct access to the pages
behind this password site?

Thanks in advance

Jenny

Nov 17 '05 #2
Hi,

1) yes, you can set that up in IIS.First you need to install the SSL
certificate inside IIS, then you go to 'directory security', edit and switch
on the 'require secure channel (SSL)' checkbox.

2) If you are just talking about ASPX pages, the built-in security of
ASP.NET is just fine. So you setup your web.config file to Forms
authentication, deny access for users who are not logged in and allow access
for authenticated users.

There are two nice papers about this in case you are interested:

http://msdn.microsoft.com/library/de...cnetlpMSDN.asp

http://msdn.microsoft.com/library/de...haspdotnet.asp

Best regards,

Marc Hoeppner
NeoGeo

"Jenny" <j.********@SPAMx-mail.net> wrote in message
news:09****************************@phx.gbl...
Hi all,

Two questions:

How can I force the use of an https connection for a first
password site?

What is the best way to prevent direct access to the pages
behind this password site?

Thanks in advance

Jenny

Nov 17 '05 #3

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

Similar topics

0
by: mmike | last post by:
How does the ASP.NET output cache affect an httpS:// (SSL) connection? Suppose I have a default.aspx page that has the following: <%@OutputCache Duration="3600" VaryByParam="None" %> ...
0
by: Christian F CLY | last post by:
Hello, I'm trying to connect a https server with an application. but i catch this error "The connection was closed. Unable to connect to the Remote server" I want to connect a secure...
0
by: Jenny | last post by:
Hi all, Two questions: How can I force the use of an https connection for a first password site? What is the best way to prevent direct access to the pages behind this password site?
0
by: YYZ | last post by:
I'm trying to write code to connect to a place on the net, send them an xml file, and get one in return. I've pieced together the following code, and was wondering if anyone can tell me if I'm on...
0
by: rushnitrkl22 | last post by:
hello everyone!!! Heres a code to open a link to an https site and read its contents... but it gives an exception...ClassCastException URL aURL; char ch; Security.addProvider(new...
3
by: Jack | last post by:
Hi I have a page which I am trying to authenticate. When a visitor comes, I check to see if a $ticket variable is set or not. if it is not, I redirect the user to a third party site. Once the user...
0
by: philipdv | last post by:
I have a process reading xml files over an https connection My code to read this xml file is CErrorAndLog.LogAlways("CKlim", "parseXML", "Parsing XML file: " + strFileName) ...
1
by: moorcroft | last post by:
Hi can someone help me with ignoring certificates over an HTTPS connection in java. I am getting the HandShake exception and Certificate exception and have tried implementing the following code to...
0
by: rahulsapra | last post by:
hello everyone i m trying to get response from a https connection.. url used is "https://www.onlinesbi.com/" but when i execute the midlet i get the exception ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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)...
0
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: 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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.