Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create SQL Server users or use Windows users for auditin
Message
 
 
À
28/01/2021 14:21:07
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01677765
Message ID:
01677951
Vues:
26
>>>I have a desktop application (VFP9) which runs in a Windows Network. I always used applications users to log into it, but now I need to develop auditing mechanisms on the database and I guess using native SQL Server users and/or Windows users would ease programing this. Which way should I choose? Their use is conditioned to something?
>>>
>>>By the way, and I guess this would effect which kind of users to use, now we are working on the same LAN, but we are planning to do remote work, in other words most of the users will work from their homes.
>>>
>>>TIA
>>
>>If I understand your question correctly. I have a table in the SQL Server and a class in the app that creates a record in this table for every other table change. Logging who made the change, what time, and specific change. Then, I have a bunch of reports that show any changes done to a table. Therefore, a user or an admin person can view complete audit trail of change. If I misunderstood your question, ignore my input.
>
>Thanks for replying. Really your reply is what I need to do. But I want to know whether I should use SQL Logins or, instead, register Windows users into SQL and use them for my auditing purposes.

My app uses SQL Login.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform