IntelliJ Java IDE
The moose likes Security and the fly likes security of servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "security of servlets" Watch "security of servlets" New topic
Author

security of servlets

Mary Wallace
Ranch Hand

Joined: Aug 25, 2003
Posts: 138
when you say security of j2ee what does it exactly means. What does a web developer should take care when developing a web app?
scott p laplante
Greenhorn

Joined: Mar 12, 2004
Posts: 13
I think in general, security concerns come about when logging in, validating permissible actions (for a user), updating user information, etc. there's an inherent cost to security, though, so its use should be limited to only that which is necessary.
Mann B
Greenhorn

Joined: Nov 13, 2003
Posts: 4
hi Mery,
Security in Web context has many angles by its own. There are issues related to access to a resourse by the end user. For eg. If u have a JSP page then whoch users or roles are allowed to access it. From which page the access could be allowed. Alo u can have some parts in that JSP page which could be accessible by certain users and not accesible by certain users.
And this can be achieved by many ways.
Regards
Mann
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
There are several issues, as some posts list out, it includes:
1. Authorization
2. Authentication
3. Confidentiality
4. Data Integrity
5. Non-reputitation services
For static contents, you should make sure that your site is not under attack, so that contents have been changed. For dynamic contents, you need to make sure that the content during transmission is not be changed. This is the Data Integrity.
You also need to identify the users by login, which is part of authentication. If there are some super users, like VIP users or system admin, they may carry out addition functions by Authorization.
You may also need to send some data which is not visible by unrelated parties, thus, you need encryption to perform confidentiality.
For online purchase, if a user buys something. He cannot say that the transaction does not request by him, thus you need non-reputiation services. This can be archived by digital signature.
There are more issues, but the above are the most common cases.
Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
 
 
subject: security of servlets
 
Threads others viewed
Hi, some questions on web app security....
Web agent
Applet writing to a file - SecurityException
Security implementation in Servlet
Security on applet calling web service (different servers)
IntelliJ Java IDE