Click here to Skip to main content
15,868,141 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPrevent hacking of connection string over the internet Pin
Member 1537744030-Sep-21 6:37
Member 1537744030-Sep-21 6:37 
AnswerRe: Prevent hacking of connection string over the internet Pin
Dave Kreskowiak30-Sep-21 8:06
mveDave Kreskowiak30-Sep-21 8:06 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 1537744030-Sep-21 8:20
Member 1537744030-Sep-21 8:20 
GeneralRe: Prevent hacking of connection string over the internet Pin
Dave Kreskowiak30-Sep-21 9:10
mveDave Kreskowiak30-Sep-21 9:10 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 153296137-Oct-21 8:09
Member 153296137-Oct-21 8:09 
GeneralRe: Prevent hacking of connection string over the internet Pin
Dave Kreskowiak7-Oct-21 8:11
mveDave Kreskowiak7-Oct-21 8:11 
AnswerRe: Prevent hacking of connection string over the internet Pin
Member 153296137-Oct-21 8:11
Member 153296137-Oct-21 8:11 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 1537744010-Oct-21 7:00
Member 1537744010-Oct-21 7:00 
Member 15329613 wrote:
1. Is the string able to be hacked? No, because it sits in app.config and hopefully you have that on a secure server.


If I am understanding this correctly, my app.config file will be on my development/deployment machine. Should not be an issue as long as I am accessing my SQL Server database on the same machine.
My fear is that if I want to keep my SQL Server database in the cloud and try to connect with it through a connection string, that string could be easily be read by a third party over the internet.
Thus, how do I ensure that my connection string containing the database credentials cannot be hacked while being sent over the internet.
If I encrypt the app.config file on my local machine, is that enough to secure this issue. How will the jumbled connection string be de-crypted at the remote server?

Member 15329613 wrote:
Is your sql server not in the same place as where your forms application will be running?


Presently it is on the same machine, but as I said above, my plan is to keep in the cloud eventually.

BTW, thank you for addressing my query, else in most cases, people simply write some cryptic answers which lead nowhere!
GeneralRe: Prevent hacking of connection string over the internet Pin
Dave Kreskowiak10-Oct-21 7:10
mveDave Kreskowiak10-Oct-21 7:10 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 1532961311-Oct-21 1:10
Member 1532961311-Oct-21 1:10 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 1537744011-Oct-21 8:22
Member 1537744011-Oct-21 8:22 
GeneralRe: Prevent hacking of connection string over the internet Pin
Member 1532961311-Oct-21 9:56
Member 1532961311-Oct-21 9:56 
QuestionHow do I read XML File and put it in Datagridview and update it back to XML File Pin
OMG_Live25-Sep-21 8:00
OMG_Live25-Sep-21 8:00 
AnswerRe: How do I read XML File and put it in Datagridview and update it back to XML File Pin
CHill607-Oct-21 6:48
mveCHill607-Oct-21 6:48 
QuestionVBA Calling a Sharepoint list Rest API failed. Pin
BEN CHEN 202119-Sep-21 6:48
BEN CHEN 202119-Sep-21 6:48 
AnswerRe: VBA Calling a Sharepoint list Rest API failed. Pin
Richard Deeming19-Sep-21 21:51
mveRichard Deeming19-Sep-21 21:51 
QuestionListDirectoryDetails Pin
Drno Strz18-Sep-21 8:07
Drno Strz18-Sep-21 8:07 
AnswerRe: ListDirectoryDetails Pin
RedDk18-Sep-21 13:55
RedDk18-Sep-21 13:55 
GeneralRe: ListDirectoryDetails Pin
Drno Strz18-Sep-21 21:33
Drno Strz18-Sep-21 21:33 
GeneralRe: ListDirectoryDetails Pin
Mycroft Holmes19-Sep-21 12:10
professionalMycroft Holmes19-Sep-21 12:10 
GeneralRe: ListDirectoryDetails Pin
Dave Kreskowiak19-Sep-21 12:39
mveDave Kreskowiak19-Sep-21 12:39 
Questionbuilding an IT helpdesk tool Pin
Mustafa M. Al-Nassah8-Sep-21 10:17
Mustafa M. Al-Nassah8-Sep-21 10:17 
AnswerRe: building an IT helpdesk tool Pin
CHill6016-Sep-21 22:11
mveCHill6016-Sep-21 22:11 
QuestionVB.Net and Google docs Pin
Malcolm Bacchus6-Sep-21 3:31
Malcolm Bacchus6-Sep-21 3:31 
AnswerRe: VB.Net and Google docs Pin
Richard MacCutchan6-Sep-21 5:47
mveRichard MacCutchan6-Sep-21 5:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.