0

as you know, the database connection parameters are listed in Web.Config which it's text, now the app is hosted in Windows, I want to apply follwoing:

1- exe file by clicking it should ask for the following
     a -> database server host address
     b -> database server sql user name
     c -> database server sql database
     d -> database server sql user password

after all the parameters are correct it should allow to store the connection and I will address the connection in webconfig(connection file) is for sure encrypted and it's show only encrypt the server detail(iis server) which even if some one copy the app folder to another server it should not work

--> here I know how to encrypt only in single file but the problem is for developing such exe which should check the detail connection if it's success and by server-IIS detail

where I should start, help of experts saves our time , best wishes

I went trough this answer but could not solve.

14
  • @Valkyriee any idea .. Commented Dec 19, 2016 at 10:36
  • This is the solution for your issue Commented Dec 19, 2016 at 10:45
  • but this is both side, encrypt and decrypt thing I need is custom which if I encrypt no one should be able to decrypt it Commented Dec 19, 2016 at 10:57
  • Try this even though it is bit complicated. Commented Dec 19, 2016 at 10:59
  • not much different, it's not what i am required to thank you Commented Dec 19, 2016 at 11:01

0

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.