Re: ASP authentication

From: Cedric Blancher (blancher_at_cartel-securite.fr)
Date: 08/26/04

  • Next message: Richard Nootebos: "Re: QualysGuard"
    To: Bénoni MARTIN <Benoni.MARTIN@libertis.ga>
    Date: Thu, 26 Aug 2004 10:34:48 +0200
    
    

    Le mar 24/08/2004 à 16:12, Bénoni MARTIN a écrit :
    > Googling around, I saw a couple of ways to meet my needs, but all seem to be weak:
    > - I can set a hidden field where I can say "yes, he is authenticated"
    > or "no, he is not", but anyone a little bit skilled can create a fake
    > request having this set up by hand (with a proxy ! ),

    True.
    Never forget that this kind of info is visible to client, and can be
    modified/added at will.

    > - I can check a session number or smth like that on each page...but
    > this does not seem very reliable,

    It is the most used technic to maintain session. For each page, you
    calculate a hash from different user and session specific informations
    such as login, IP, date, random value, etc. Then you put this as a
    cooky. On next page, you check the cooky, and, if verified, you set
    another and go on. One time cooky... And if cooky's are not supported by
    client, put this value within URL links.

    Maybe it will be more efficient and simple to use builtin ASP session
    management that seems to do its job quite well :

            http://www.w3schools.com/asp/asp_sessions.asp

    > - I can check IP adress...but when you use AOL for instance, IP
    > adresses can change !

    2 clients between the same address. The first one authenticates and the
    second one can log automaticly...

    -- 
    http://www.netexit.com/~sid/
    PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
    >> Hi! I'm your friendly neighbourhood signature virus.
    >> Copy me to your signature file and help me spread!
    ------------------------------------------------------------------------------
    Ethical Hacking at the InfoSec Institute. All of our class sizes are
    guaranteed to be 12 students or less to facilitate one-on-one interaction
    with one of our expert instructors. Check out our Advanced Hacking course,
    learn to write exploits and attack security infrastructure. Attend a course
    taught by an expert instructor with years of in-the-field pen testing
    experience in our state of the art hacking lab. Master the skills of an
    Ethical Hacker to better assess the security of your organization.
    http://www.infosecinstitute.com/courses/ethical_hacking_training.html
    -------------------------------------------------------------------------------
    

  • Next message: Richard Nootebos: "Re: QualysGuard"

    Relevant Pages

    • Re: [PHP] Re: a question on session ID and security
      ... hash key" to the client when it doesn't need it? ... But by doing that you're exposing how your app validates the authentication key, leaving it open to being transferred to another machine. ... tutorial on PHP session security is helpful. ...
      (php.general)
    • RE: ISA 2004 Firewall client
      ... The green arrow only shows up when the client needs to initiate a ... firewall session. ... Part 3: I want to explain How the logs and sessions work: ... Collect the ISA firewall client configuration information ...
      (microsoft.public.windows.server.sbs)
    • Re: PHP & MySQ + unique keys
      ... :>> I'm trying to write a system thats used for about 50 clients that uses ... The problem is that when a client ... :>> when you refresh the page that the unique key is incremented as you ... session is using. ...
      (comp.lang.php)
    • Re: Database design
      ... Is each session related to a client? ... Yes, each session is related to a single client, or so I anticipate. ... (fsubSession and fsubProduct) ...
      (microsoft.public.access.tablesdbdesign)
    • Re: RDP Printing by station
      ... For example, port 3389 would have print redirection enabled, whereas port 3390 would have print redirection disabled. ... I am not sure this is a possible solution anymore, because you said that there would be printing to not only redirected printers but network printers as well. ... In this case, the user could originally connect from an ip that is permitted, disconnect their session, and reconnect from an ip that is not permitted. ... Your client software would use this channel to send the local MAC address to your server software. ...
      (microsoft.public.windows.terminal_services)