Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Identifying process completion Pin
Alan N23-Mar-14 11:02
Alan N23-Mar-14 11:02 
GeneralRe: Identifying process completion Pin
Sam Marrocco23-Mar-14 11:23
Sam Marrocco23-Mar-14 11:23 
QuestionRemove connectionstring from app.config Pin
dilkonika22-Mar-14 7:30
dilkonika22-Mar-14 7:30 
GeneralRe: Remove connectionstring from app.config Pin
PIEBALDconsult22-Mar-14 8:18
mvePIEBALDconsult22-Mar-14 8:18 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 8:43
dilkonika22-Mar-14 8:43 
GeneralRe: Remove connectionstring from app.config Pin
Eddy Vluggen22-Mar-14 8:49
professionalEddy Vluggen22-Mar-14 8:49 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 9:20
dilkonika22-Mar-14 9:20 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak22-Mar-14 12:28
mveDave Kreskowiak22-Mar-14 12:28 
If your application is under any path under Program Files, normal users cannot change the connection string. Well, they can load the .config file into Notepad, but they cannot save it.

Now, if your users are Administrators, well, there's nothing you can do to stop them.

Honestly, it's a waste of time to try and protect the connection string. If they want to screw with the app and ruin their data, that's their problem.


dilkonika wrote:
I know it's a string but does it have a specific structure ?


The "structure" as you put it depends entirely on the database engine you're connecting to, the client (if any) you're using and the connection technology. Go to ConnectionStrings.com for the definitive list of connection string possibilities.

GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 13:48
dilkonika22-Mar-14 13:48 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak22-Mar-14 14:37
mveDave Kreskowiak22-Mar-14 14:37 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 14:54
dilkonika22-Mar-14 14:54 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 3:55
mveDave Kreskowiak23-Mar-14 3:55 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika23-Mar-14 4:58
dilkonika23-Mar-14 4:58 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 13:02
mveDave Kreskowiak23-Mar-14 13:02 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika23-Mar-14 13:58
dilkonika23-Mar-14 13:58 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 14:19
mveDave Kreskowiak23-Mar-14 14:19 
GeneralRe: Remove connectionstring from app.config Pin
PIEBALDconsult22-Mar-14 12:12
mvePIEBALDconsult22-Mar-14 12:12 
QuestionODBC Connection Pin
SPSandy21-Mar-14 5:47
SPSandy21-Mar-14 5:47 
AnswerRe: ODBC Connection Pin
Simon_Whale21-Mar-14 5:49
Simon_Whale21-Mar-14 5:49 
GeneralRe: ODBC Connection Pin
SPSandy21-Mar-14 7:46
SPSandy21-Mar-14 7:46 
AnswerRe: ODBC Connection Pin
Eddy Vluggen21-Mar-14 5:51
professionalEddy Vluggen21-Mar-14 5:51 
GeneralRe: ODBC Connection Pin
SPSandy21-Mar-14 7:45
SPSandy21-Mar-14 7:45 
GeneralRe: ODBC Connection Pin
Eddy Vluggen21-Mar-14 11:20
professionalEddy Vluggen21-Mar-14 11:20 
QuestionRestore a sql server database from VB.net Pin
dilkonika21-Mar-14 4:43
dilkonika21-Mar-14 4:43 
AnswerRe: Restore a sql server database from VB.net Pin
Eddy Vluggen21-Mar-14 5:53
professionalEddy Vluggen21-Mar-14 5:53 

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.