/    Sign up×
Community /Pin to ProfileBookmark

HP Fortify. How to Fix "Access Control: Database"?

Hello.

Is it possible to fix the HP Fortify issue Access Control: Database (Security Features, Data Flow) for this code (line #4):

[CODE]
SfvG=request.getParameter(“n_company_id”).toString();

userName=”lalala”;
String query=”update invoices set id = ? WHERE user = ?”;
PreparedStatement stmt=con.prepareStatement(query);
stmt.setString(1,SfvG);
stmt.setString(2,userName);
stmt.execute();
[/CODE]

so, that to get rid of this issue in HP Fortify.

Thank you.

to post a comment
Java

3 Comments(s)

Copy linkTweet thisAlerts:
@beispielFeb 24.2017 — Please write did you find the solution of your problem?
Copy linkTweet thisAlerts:
@AjayRajpootNov 08.2019 — Hi please update the solution .if you find any thing .
Copy linkTweet thisAlerts:
@AllockineDec 06.2019 — Hi there! Any news about the solution?
×

Success!

Help @skaa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...