JSPs & Security??

Discussions

Web tier: servlets, JSP, Web frameworks: JSPs & Security??

  1. JSPs & Security?? (2 messages)

    What are the secrets to security with JSP's?
    I am running netscape web server with JRUN app server, both on solaris..

    How can I make my JSP's secure -...so users can't type in the JSP URL directly...


    Don

    Threaded Messages (2)

  2. JSPs & Security??[ Go to top ]

    If you are using a recent version of JRun, you should be able to configure J2EE standard security through the web.xml file:

    http://java.sun.com/webservices/docs/1.3/tutorial/doc/Security2.html

    This example is for a servlet, but it can be used for JSP as well. Just make the <url-pattern> for your web resource match your JSP: *.jsp
  3. is it that easy?[ Go to top ]

    Paul -
    is it that easy?
    All I have to do is just declare a folder in the web.xml under security-constrainte and the web server does the rest??
    it just blocks out the path specified?

    is this how everyone does it?

    Does my JSP have to have any code inside??

    Don