Houssam El wrote:
obaid abbassi wrote:from the security point of view is jsp still good to use in today's date? can we still use it in the backend please guide me.
JSP is more secure when you've used with Standard Tag Library, JSTL for brevity, it secures the website from being attacked using cross-site scripting (XSS) as well as SQL Injection according to a book named Murach Servlet API and JSP, in addition, JSP is a good to use for interactive website
Houssam El wrote:JSP is more secure when you've used with Standard Tag Library, JSTL for brevity, it secures the website from being attacked using cross-site scripting (XSS) as well as SQL Injection according to a book named Murach Servlet API and JSP
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Tim Moores wrote:
Houssam El wrote:JSP is more secure when you've used with Standard Tag Library, JSTL for brevity, it secures the website from being attacked using cross-site scripting (XSS) as well as SQL Injection according to a book named Murach Servlet API and JSP
It is perfectly possible to create a web site that has XSS problems with JSTL (although when used properly it can help avoid those).
As to SQL injection, JSP does not protect against those. Nor could it, since DB operations are executed in backing beans or servlets, not in JSPs.
But these are just two of the more common security issues with web apps, there are many more to watch out for.
Tim Holloway wrote:No, don't expect JSTL to be a magic solution to security.
It should be noted, however, that JSP URLs, like servlet URLs can be protected by the JEE standard container-managed security system and that system has never, to my knowledge, been breached. You can write bad security rules, but the security manager itself has a very strong record. And it blocks malicious URLs from ever reaching the webapp at all.
Houssam El wrote:About the 2sd statement, JSP couldn't protect databases, otherwise, Servlet API does, it has numerous way to help you mitigate attacks against your database
obaid abbassi wrote:is it a good practice to use core jsp to build websites?
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Consider Paul's rocket mass heater. |