Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7085677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:27:15+00:00 2026-05-28T07:27:15+00:00

I have requirement to get application cache object => session object, modify it and

  • 0

I have requirement to get application cache object => session object, modify it and use it. While everything works fine, I am receiving the Trust Boundary Violation threat from Fortify (for more info) https://www.fortify.com/vulncat/en/vulncat/sql/trust_boundary_violation.html.

Any ideas on how to fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:27:16+00:00Added an answer on May 28, 2026 at 7:27 am

    Trust Boundary Violation is not often a simple thing to fix. TO really understand this, you need to confer with your security auditor and your architect and determine what is the trust boundary. To do this, draw a logical architecture of your application, including the cache, the end user and all the other systems the application needs to interface with.

    Then, draw a dotted line around the part of the application that needs to be protected. Everything inside this line is stuff that you do not have to check… it’s all data that, presumably was created by you the developer, or else it was scrubbed by your input validation function and you are sure it is only the kind of data you expect. (See https://www.owasp.org/index.php/Data_Validation)

    Now, where is the cache?

    1. If it’s inside the trust boundary, then this Trust Boundary Violation is a false positive and you can create a filter so that if the source comes from that file or package, the issue will be hidden. Your filter would look something like this:

      category:”trust boundary violation” package:com.example.mycachepackage

      or

      category:”trust boundary violation” file:MyCacheObject.java

    2. If the cache is outside the trust boundary, then the assumption is that the attacker may use the cache as a mechanism to attack your program or users. Then you have to check all the data every time you put data into the cache or take anything out of the cache.

    Once you’ve defined the validation function(s) for the cache mechanism, your security auditor or Fortify consultant will write a custom validation rule that will make all the fixed issues disappear.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the requirement in a Flex application to create & populate an object
We have a asp.net,C# application in which there is a requirement to get all
I'm attempting to use jqGrid in my ASP.Net MVC application and have a requirement
I have a requirement to get the contents of every method in a cs
I have a requirement in a shell script. I get this location information from
In our project we have requirement that, after receiving sms message from third party
I have a requirement where a logged-in user can only have 1 active session
We have a requirement to design a monitoring application for our Windows client machines
I have an intranet application using windows authentication that works great. Now I have
I have the following requirement for creating a user profile in my application: User

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.