Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7916609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:52:15+00:00 2026-06-03T14:52:15+00:00

WinFormsApp Login passes information to .php (server based) Login (provided credentials are correct) to

  • 0

WinFormsApp Login passes information to .php (server based) Login (provided credentials are correct) to DB to retrieve Decryption Key. WinFormsApp then uses Decryption key on Hardcoded encrypted connection string and renders application usable.

This would then eliminate the necessity to encrypt/decrypt a connection string at runtime, virtually rendering any unauthorized person with a useless software.

Is there anything wrong in my thought process?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:52:18+00:00Added an answer on June 3, 2026 at 2:52 pm

    If the decryption key is being sent in plain text back to the WinForms application, then that’s technically a security hole. But since you can only get it if you successfully authenticate, it’s mitigated somewhat. To raise the security bar a little higher, you could encrypt the decryption key using a hardcoded encryption key on both ends. That’s not totally fool proof, but sometimes security isn’t about being 100% fool proof, it’s just raising the bar high enough. It depends on how secure it needs to be. A more thoroughly secure design would be to have the server side do all the data access so the client doesn’t need the connection string, but that I’m sure would require considerable redesign. Alternatively, you could use integrated security if it is SQL Server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My WinForms app uses a number of BackgroundWorker objects to retrieve information from a
(Revised for content quality) We had built forms based application for a customer based
My WinForms app uses Process.Start() to open files in their native app. I want
we have WinForms app which stores data in SQL Server (2000, we are working
My WinForms app has a simple modal login form, invoked at startup via ShowDialog().
We have a .NET 2.0 winforms app that connects to a SQL Server 2005
I've been developing a winforms app tied to sql server. I haven't rebooted in
Our marketing department comes back with active directory integration being a key customer request,
My Winforms app set permissions based on the group membership found in the current
I have a WinForms app that uses the Settings feature of .NET 2, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.