Sessions to secure JSP pages

Discussion in 'Java' started by Steven, Mar 2, 2005.

  1. Steven

    Steven Guest

    Hi everyone,

    I have a few webpages in JSP which are freely available if you know the url.
    But I would like to secure these that only after entering a
    username/password
    that the pages can be viewed. I think I would need sessions for this. Are
    there any handy tutorials or examples on how to do this? Any other handy
    info?

    Thanks!

    Regards,
    Steven.


    --
    Posted by news://news.nb.nu
     
    Steven, Mar 2, 2005
    #1
    1. Advertising

  2. Steven schreef:
    > Hi everyone,
    >
    > I have a few webpages in JSP which are freely available if you know the url.
    > But I would like to secure these that only after entering a
    > username/password
    > that the pages can be viewed. I think I would need sessions for this. Are
    > there any handy tutorials or examples on how to do this? Any other handy
    > info?


    In tomcat is an example:
    /webapps/jsp-examples/security/protected/



    --
    --------------------------------------

    http://www.freewebs.com/karelsuikers/
    --------------------------------------
     
    Karel Suikers, Mar 2, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. A.M
    Replies:
    5
    Views:
    5,445
    Teemu Keiski
    Jun 8, 2004
  2. Daniel Malcolm
    Replies:
    0
    Views:
    556
    Daniel Malcolm
    Jan 24, 2005
  3. zdrakec
    Replies:
    1
    Views:
    436
    zdrakec
    Jul 25, 2005
  4. Joe
    Replies:
    5
    Views:
    960
    Steven Cheng[MSFT]
    Dec 13, 2005
  5. rb

    secure and non-secure pages

    rb, Dec 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    331
Loading...

Share This Page