EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB438401: Secure Freeform SQL report’s text prompt answer(s) using prepared statements


Community Admin

• Strategy


In MicroStrategy products, so far, a single text prompt object has been used by customers to allow users to provide single or multiple text prompt answers in FFSQL Reports, which exposes the platform to SQL Injection security threat. As per OWASP recommendation, guaranteed defense against SQL Injection is the use of prepared statement.

For security reasons, Freeform SQL reports using the text prompt feature should use parameterized queries (also called prepared statements) to guard against malicious SQL injections. For data sources that do not support parameterized queries, a redesign of the Freeform SQL reports may be necessary.
The following steps provide an overview for configuring secure Freeform SQL text prompts:
Step 1: Identify database support for parameterized queries
Step 2: Enabling parameterized queries (for supported databases)
Step 3: Define secure Freeform SQL reports (for supported and unsupported databases)
For a full walkthrough, check out the Using Secure Freeform SQL Text Prompts Documentation page.
 


Comment

0 comments

Details

Knowledge Article

Published:

August 21, 2017

Last Updated:

February 13, 2024