[Question] How to secure code and everything?
Question
Im currently using PHP to upload to my MySQL database. I heard it is best to save everything as TEXT or MEDIUMTEXT. But the question is, how should I protect everything and make sure no one is uploading malicious code?
I am using the custom code plugin as well so the user can add custom javascript code, but how can I make sure everything is secure when I upload it to the database and then display it on an actual page (not editor)?
Thank you so much!
Answers (1)
Sorry but this question is totally off topic here, try to use Stack Overflow for similar doubts
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2118
[Question] Save configuration of dynamic blocks into HTML? (Countdown, Slider)
I am trying to save the template data into the database. Currently I have it working successfully. It posts the Assets, Components, Styles,...
Issue #3329
QUESTION: How should I receive custom trait modifications in the script?
Hi, @artf, this is a great framework, thank you very much. I am now using it to create components of the mobile BUI framework, and I ran in...
Issue #2596
[QUESTION] Add html, css and js to Block Manager
[QUESTION] Hi! I'm retrieving dynamic html,css and js codes from the database. How can I create Blocks with this? Currently, this is my cod...
Issue #1706
[Question]: How to get href from rte?
I have this rte toolbar where you can type and click 'save' and it's going to create a link for the selected text. but the problem is that...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.