Recommended Approach to Secure your ADFdi Spreadsheets

Posted by juan.ruiz on Oracle Blogs See other posts from Oracle Blogs or by juan.ruiz
Published on Wed, 05 May 2010 14:11:04 -0800 Indexed on 2010/05/05 22:30 UTC
Read the original article Hit count: 471

Filed under:

ADF desktop integration leverages ADF security to provide access to published spreadsheets within your application. In this article I discussed a good security practice for your existing as well as any new spreadsheets that you create.

ADF Desktop integration uses the adfdiRemoteServlet to process and send request back and fort from and to the ADFmodel which is allocated in the Java EE container where our application is deployed. In other words this is one of the entry points to the application server. Having said that, we need to make sure that container-based security is provided to avoid vulnerabilities.

So what is needed? For existing an new ADFdi applications you need to create a Security Constraint for the ADFdi servlet on the Web.xml file of our application. Fortunately JDeveloper 11g provides a nice visual editor to do this. Open the web.xml file and go to the security category

image

Add a new Web Resource Collection give it a meaningful name and on the URL Pattern add /adfdiRemoteServlet click on the Authorization tab and make sure the valid-users  role is selected for authorization and Voila! your application now is more secured.

© Oracle Blogs or respective owner