0

I have a B.dll, I want to create APP_A and reference B.dll.

B.dll contains XXEntities. If the APP_A needs to use B.dll, the app.config must add a connection string named XXEntities.

enter image description here

I want to hide the connection strings in app.config.

Attention : B.dll can't be changed

1

1 Answer 1

0

Best way would be to encrypt the connection string in app/web.config. This is the standard way for .NET application to hide some sensitive information from the client to expose via configuration.

Check this link

It is also machine specific encryption which will provide more security.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your guidelines. It can hidden the connectionStrings but I don't want to dependency asp.net

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.