I'm wondering if someone can point me in the direction of some online resource for the following problem, I've tried to search for terms but not getting any hits.
I'm wondering how to create a C# forms application, that will connect to a database (SQL/Azure(Maybe) but I want the users to be able to register themselves. Therefore the application surely will need some sort of "Embedded" login for the users to be able to register.
I know in the web app variant, the app.config file is protected and ideal for holding connection strings and the like but i'm unaware of anything like this for form type applications.
Things I thought may work...
1, Create an DB account with limited functionality (This would be the embedded login/user) that has access to the "create user" proc only. Then once registered the user has to authenticate again for the app for effectively work.
2, Embed a single user account in the app which acts as the only connection between app and database all the time and create a user table, which the user adds too. Then design a privilege system within the database and the associated user. Similar to the web.app approach.
Finally, if the links or help doesn't cover it. Would it be better to create Logins/Users (which could get very large) or create fewer logins/user and manage it through a table/privelge system within the database?
Thanks