General information
Forum:
Microsoft SQL Server
>Hi, I'm here again! :-)
>
>I'd like to know where do you use to store login data, like servername, username, password, etc.
>
>I have to say that I'm wondering to create a user for generic use. Then I will create a user table in my database to control user access. So, I'm wondering to sabe this information inside EXE, but I'm not sure if it is the best option.
>
>Thanks all of you that are helping me!
Rudolfo,
It is common practice to store the SQL Server connection string information in the app.config|web.config file. If you are storing it in the app.config file, you will probably want to encrypt the connection string because users will be able to read the contents. In the web.config, the connection string does not need to be encrypted because the file can be protected with NT permissions.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only