| | |
URL security in jsp how?
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 63
Reputation:
Solved Threads: 0
Hi guys I am trying to prevent user to access directly using URL to my application , so in order to do that I have used security constraint in web.xml file and it works with me . my problem is in my application I am using href and redirect method in my servlets to redirect a user , here the server will not redirect a user to required pages but redirecting a user to error page "access deny" , it is like a user accessed directly from URL
please help me how to solve this problem.
I have seaeched about how to secure your pages from accessing directly using URL which is through putting all the pages under web-inf directory , I hope if you tell me how to do that , what changes i have to do in my web.xml
please help me how to solve this problem.
I have seaeched about how to secure your pages from accessing directly using URL which is through putting all the pages under web-inf directory , I hope if you tell me how to do that , what changes i have to do in my web.xml
0
#2 29 Days Ago
Putting pages under WEB-INF is a good one but my suggestion to you to use urlrewrite or authentication mechanisms.
Failure is not fatal, but failure to change might be. - John Wooden
![]() |
Similar Threads
- News Story: ZoneAlarm Security Suite 7 Anti-Virus broken (Network Security)
- free jsp web hosting (JSP)
- News Story: Black Hat Conference Highlights Enterprise Security Issues (Network Security)
- News Story: Linus Torvald's Security Smackdown (Network Security)
- News Story: Has VFS learned its lesson following DaniWeb UK visa security expose? (Network Security)
- Get the user id from php page to a jsp page [Very Urgent] (Java)
- News Story: Security Threat Predictions 2007 (Network Security)
- Zone Alarm Security Alerts. (Viruses, Spyware and other Nasties)
- Passing paramter from javascript to jsp (JavaScript / DHTML / AJAX)
Other Threads in the JSP Forum
- Previous Thread: Session in jsp problem
- Next Thread: Combobox Selection From Session Attribute
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






