Click here to Skip to main content
15,175,716 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello there
I am developing a new application system that contains a database and i need to know how to protect these data in coding? What can i use? What programmers use when they need to protect their code?

What I have tried:

Nothing ,
I am developing a new application system that contains a database and i need to know how to protect these data in coding? What can i use? What programmers use when they need to protect their code?
Posted
Updated 3-Nov-21 2:45am
v2
Comments
Richard MacCutchan 3-Nov-21 7:04am
   
What do you want to protect it from? And why have you tagged this question HTML, is this a web application?

1 solution

Databases are inherently difficult - or impossible - to "secure", simply becuas ethey must be read by applications - which means that if you encode the data, the application has to include the decode information, often as part of the connection string.

And that means that you effectively publish the decrypter with the encrypted data!

While some measures can be taken, they are way beyond the little text box we have here, and can't be implemented without very careful study of the data, the level of protection you need, and the application which will access it. This is not a field where enthusiasm is any substitute for knowledge and experience!

Start here: Database Security: An Essential Guide | IBM[^] and when complete, move on to Google to refine your knowledge. But do not expect this to be a quick job - it's likely to take weeks or months before you will know anywhere near enough to actually start protecting anything instead of leaving gaping hole you aren't even aware could exist! Some of it is seriously counter intuitive...

For example, have a look at this: Password Storage: How to do it.[^]
While it isn't directly relevant to what you are trying to do, it's an explanation of why what seems like the optimum security solution - encryption - is a very poor security mechanism for passwords.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900