Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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
    Jenny Guest

  2. Similar Questions and Discussions

    1. #31050 [Com]: SOAP class will not parse WSDL file located on a secure HTTPS connection
      ID: 31050 Comment by: youngad6 at gmail dot com Reported By: dylanwoster at mac dot com Status: No Feedback...
    2. #38631 [Bgs]: fopen('https://...') or curl with https gives Segmentation fault
      ID: 38631 Updated by: darkelder@php.net Reported By: roberto dot berto at gmail dot com Status: Bogus Bug...
    3. LWP and HTTPS
      Hi, I'm a Perl newbie and I'd like to post a form via HTTPS, which requires logging in first via another HTTPS form with cookies enabled. Google...
    4. PHP HTTPS POST Como hacer un POST https con PHP
      http://wedoit4you.com/forums4you/display_message.php?Msg_pk_id=628 /** Author: Ing. Angel Leon Function: postHttps($url,$params) Given the...
    5. ASP.NET and HTTPS
      is it posiible to send data to a HTTPS server using ASP.NET John
  3. #2

    Default Re: https connection?

    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:

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetlpMSDN.asp[/url]

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/authaspdotnet.asp[/url]

    Best regards,

    Marc Hoeppner
    NeoGeo

    "Jenny" <j.malloyNO@SPAMx-mail.net> wrote in message
    news:094b01c34a99$f4e7a7a0$a101280a@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

    Marc Hoeppner Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139