Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / August 2003

Tip: Looking for answers? Try searching our database.

Web application security

Thread view: 
Moro - 27 Aug 2003 09:25 GMT
I wrote a little web application based on apache, JSP and jboss.
I'd like to secure my application in some way.
My question is : is it necessary for me to define security policies
for my code using the java security model (Security Manager,
AccessControl)?
Wolfram Rittmeyer - 27 Aug 2003 10:16 GMT
> I wrote a little web application based on apache, JSP and jboss.
> I'd like to secure my application in some way.
> My question is : is it necessary for me to define security policies
> for my code using the java security model (Security Manager,
> AccessControl)?

No. Web-apps can be secured by configuring the web.xml-file. You can
define how to deal with authentication (who am i) and authorization
(what am I allowed to do) solely by configuring your web-app with a
proper web.xml.

How to do that can be found here:
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/D
EA2eTOC.html


See chapters 9.2 and 9.3 for sample web.xml-snippets.

Wolfram Rittmeyer
http://www.jsptutorial.org
Moro - 27 Aug 2003 15:27 GMT
> > I wrote a little web application based on apache, JSP and jboss.
> > I'd like to secure my application in some way.
[quoted text clipped - 14 lines]
> Wolfram Rittmeyer
> http://www.jsptutorial.org

Thank you for the info. So, whom the standard java security model is
intended for? Who needs to use that model? If I write some code and
run it locally it is certainly secure!
Marco Manini - 27 Aug 2003 20:13 GMT
> Thank you for the info. So, whom the standard java security model is
> intended for? Who needs to use that model? If I write some code and
> run it locally it is certainly secure!

Hi,

Usually you write some code and someone else use it. The user of your
code sets up the security policy...

Marco


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.