Hello,
I have to make a new windows project using remote sql server database. To make a decision regarding the choice between Linq to Sql and the Entity Framework, I initially created two identical test projects the unique difference was data access technology, to compare the performance between these two technologies, I noticed that the EF project is about 4 times slower.
Now I'd like to be helped on the question of security:
Having to use an encryption of the connection string in the App.config file, I wonder if there would still be vulnerabilities in the use of data models. Dbml or. Edmx
Also I wonder how to configure remote (Windows Server / SQL Server 2008) and the local (Windows 7 / application) to establish connection with integrated security (Windows).
Thanks in advance
Loading
SamioPosted Jun 27, 2012, 4:33 AM
I steel look for a good comparison between L2SQL and EF connection methods, to see then which encryption way to use.
Posted Jun 27, 2012, 1:01 AM
SamioPosted Jun 25, 2012, 5:00 PM
Start -> Computer -> Manage
I created a new user credentials
At SQL Server Security -> Logins
I added that user, specifying windows authentication, and also made related configurations for mappings, permissions, and so on.
At My desktop side
I created a new windows session with the same credentials.
Then I had the choice to connect the app. from inside the related user session, or using the method like you specified above:
1) Hold shift key + Right click on your exe application.
2) Run as different user
3) Give the user name password.
That's it.
The most important in all this is the question (Title of thisTopic), and till now remain without answer...
Posted Jun 24, 2012, 11:44 PM
http://www.c-sharpcorner.com/Forums/Thread/165535/secure-connection-string-in-app-config-C-Sharp.aspx
http://stackoverflow.com/questions/1335413/entity-framework-encrypt-connection-string
SamioPosted Jun 23, 2012, 7:17 AM
Now I'm looking for a simple way to encrypt the connection string in the App.config, any idea please?
Posted Jun 22, 2012, 6:34 AM
SamioPosted Jun 22, 2012, 5:13 AM
Posted Jun 21, 2012, 6:40 PM
SamioPosted Jun 21, 2012, 1:40 PM
From your last post I assume that I have to create a windows session with my credentials same as my local session credentials ? right ? I do not have to configure any Active Directory ?
Posted Jun 21, 2012, 11:35 AM
If the sql server and application is on the same machine then you can try the below one.
1) Hold shift key + Right click on your exe application.
2) Run as different user
3) Give the user name password.
Do you have any issues to run the application on sql server authentication ?
SamioPosted Jun 21, 2012, 6:22 AM
Can I use Windows authentication without having domain controler ?
Posted Jun 21, 2012, 12:16 AM
http://itzkumar.wordpress.com/2009/09/18/windows-authentication-vs-sql-server-authentication/