Patterns And Practices Security Checklists

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

  1. #1

    Default Patterns And Practices Security Checklists

    Hi,

    In Architecture and Design Review Security Checklist at following link:

    [url]http://msdn.microsoft.com/library/en-us/dnnetsec/html/CL_ArchDes.asp?frame=true&_r=1[/url]

    I don't underestand following two items:

    1) Session state is protected from unauthorized access.
    2) Session identifiers are not passed in query strings.

    How an unauthorized access to session state can happen and why would i pass
    session identifier in query string ?

    Thanks,
    Ali


    A.M Guest

  2. Similar Questions and Discussions

    1. Best practices
      Hello All, I am working on an application involving the interoperability between J2EE and .NET. One of my requirements is to send an XML document...
    2. Patterns
      Hi ! I've got a simple looking problem, do maybe someone will have simple, short solution for it. I hava a string whis is an expression e.g.:...
    3. security practices
      "Tim Mulholland" <tim@eyeresponse.com> wrote Tim, It sounds like you are running into a delegation issue (the local ASPNET user credentials...
    4. Best Security Practices for ASP against SQL Server
      No, you shouldn't use a DSN. You should use OLEDB connection strings and create your connection when you need it. You can store the connection...
    5. Some PHP best practices
      I'm starting a new project, and I was wondering what is considered best practise in the following cases: * Connecting to multiple databases...
  3. #2

    Default Re: Patterns And Practices Security Checklists

    there are only a couple of ways to pass a session key

    1) in a cookie (asp.net)
    2) in the url
    3) hidden field (though a url is often required for bootstrap)

    your worried about how easy it is to hijack someone's session. in all the
    above techinques the session key can be discovered by a network sniffer. so
    now that i have the key, how easy is to use. a sample of a bad session key,
    is an incrementing number, these are easy to hijack.


    -- bruce (sqlwork.com)



    "A.M" <IHateSpam@sapm123.com> wrote in message
    news:#FN9LBZ9DHA.3648@TK2MSFTNGP11.phx.gbl...
    > Hi,
    >
    > In Architecture and Design Review Security Checklist at following link:
    >
    >
    [url]http://msdn.microsoft.com/library/en-us/dnnetsec/html/CL_ArchDes.asp?frame=t[/url]
    rue&_r=1
    >
    > I don't underestand following two items:
    >
    > 1) Session state is protected from unauthorized access.
    > 2) Session identifiers are not passed in query strings.
    >
    > How an unauthorized access to session state can happen and why would i
    pass
    > session identifier in query string ?
    >
    > Thanks,
    > Ali
    >
    >

    bruce barker Guest

  4. #3

    Default RE: Patterns And Practices Security Checklists

    Hello Ali,

    I agreed with Bruce on it. For an example, if a client browser doesn't
    support/allow cookie, we can't store session in cookie then. Under this
    situation, some web sites will transfer session ID through URL. If somebody
    hacked sessionID by using network sniffer, he can visit the web site by
    using another people's identity.

    Another concern is that cookies are sent between browser and server as
    plain text, and anyone who can intercept your Web traffic can read the
    cookie. You can set a cookie property that causes the cookie to be
    transmitted only if the connection uses the Secure Sockets Layer (SSL, aka
    [url]https://)[/url]. SSL does not protect the cookie from being read or manipulated
    while it is on the user's computer, but it does prevent the cookie from
    being intercepted in transit.

    You can refer to the following article for some more info on it:
    "Basics of Cookies in ASP.NET"
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechar[/url]
    t/html/vbtchaspnetcookies101.asp

    Hope that helps.

    Best regards,
    Yanhong Huang
    Microsoft Community Support

    Get Secure! ¨C [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Yan-Hong Huang[MSFT] 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