I've been asked to disable the SQL Console on a DNN installation for security reasons. Is there any option for this? Anyone tried?
In the past, you used to be able to just uninstall this specific persona bar extension. Since they've been combined, this is no longer possible.
If you're using CloudFlare, the managed rules will block this for you automatically (as well as accessing the web-config in the same way).
Otherwise, you will need to do it with a rule that you create, either in DNN or your chosen WAF (if possible).
I'd suggest adding a rewriteRule in your web.config to block access to the following path, and duplicating this rule in your WAF.
<code>/DesktopModules/admin/Dnn.PersonaBar/Modules/Dnn.SqlConsole/</code>
Image:
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.