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

  • Home
  • SEARCH
  • 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 6078947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:53:28+00:00 2026-05-23T10:53:28+00:00

I was developing a client and server game application. I was using a web

  • 0

I was developing a client and server game application. I was using a web service (WCF). In this way, the client application doesn’t store the password of the database. It access the web service instead, so the password could not be hacked. But now, I think I could develop faster if I could use Entity Framework. But I tried a long time ago, and I read that WCF is not compatible with EntityFramework, because of some attribute stuff that could not serialize.

So I guess, if I use entity framework, I can not split in two applications (client and server). Or can I?

So is there any safe way to not be hacked if I develop only one application (not splitting in client/server). This application would connect to database, but it needs the password. But I think I can’t store the password in the same application the client use. What should I do?

Maybe my ideias are confused, sorry. Please help me. Thanks.

  • 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-05-23T10:53:29+00:00Added an answer on May 23, 2026 at 10:53 am

    There is no real way to secure password when you pass connection string to the client. Even if you encrypt it somehow your application will still need an encryption key to decrypt the connection string / password so user will be able to search for that key (disassembling) and decrypt it as well. Once you pass connection string to the client you are giving him permissions to your database. Because of that you must gave him user name and password which will allow him doing only allowed queries and changes – that is hardly possible when you distribute a game because that would require separate unique login for each your client and whole your data access will have to be done through stored procedures. You should never expose database to public (no database admin would allow that). You need client / server.

    I read that WCF is not compatible with EntityFramework

    Show what real problems you read about or what real problems you really have.

    WCF can be used with Entity framework. There are even WCF Data Services which expose entity framework model as REST OData service. The only problems common WCF service has with EF are lazy loading which should be turned off and serialization where you have to deal with cyclic references or use data transfer objects instead of real entities.

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

Sidebar

Related Questions

We are developing a server-client application in c# using wcf services and wpf. We
I'm using .NET 3.5 and WCF for developing a server-client application. Binding=BasicHttp. I'm working
I am developing a client-server application for a cross-database system. I am using Eclipse
I am developing a client-server application using .Net Remoting. From my server I want
i am developing client server application in windows using c++ and winsock lib it
I am developing a client-server application - the server being an ASP .NET web
I am developing a Client-Server based application in which client application will access server
I am developing an application in C# WPF which will have Client-Server architecture (Client
I'm developing an application that uses webservices in python, both sides (server and client)
In my work, I'm developing a Viewer client for a Offshore simulation server, using

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.