Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
J.
MVP
187
Views
4
Comments
Encrypting and Decrypting Configuration Sections of web.config
Question
Security
Hi,
we need to store some sensitive data in our web.config and encrypt it.
Does Outsystems does this already?
introduction:
https://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.140).aspx
walkthrough :
https://msdn.microsoft.com/en-us/library/dtkwfdky(v=vs.140).aspx
For example we need to store some "private" keys we use to access 3rd party webservices.
or even encryption/decryption of our database.
When we are able to place those values inside a custom section of the web.config and even encrypt them on a system-level we are slightly more secure :)
Tiago Neves
Hi,
I haven't done this in OutSystems and I don't know if the platform encrypts any of web.config sections.
However I think it should be easy to accomplish this task. Running a command similar to this:
C:\WINDOWS\Microsoft.NET\Framework\v4.5\aspnet_regiis.exe -pe "MySection" -app "/MyApplication"
It works with any configuration section - including ones you build yourself.
Since ASP.NET automatically decrypts what you have encrypted... this should be enough.
I just don't know if this will create any conflict with the outsystems platform.
J.
MVP
that's the key question :)
Fabian
did you ever figure this out?
J.
MVP
yes. I have managed to get it to work.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...