Showing posts with label mechanism. Show all posts
Showing posts with label mechanism. Show all posts

Thursday, March 22, 2012

Authentication locking mechanism on SQL 2000 CE

Dear Sir/Mam,
Kindly let me know that whether it is possible to set
authentication locking mechanism that will provide the
feature for disabling user accounts after 2 unsuccessful
login attempts and automatic password expiry on SQL 2000
clients.
Regards
Vetrivel.S
There is no such feature on SQL Server 2000. SQL 2005 will provide features
in those areas but it is a little ways off yet. If you need that capability
I suggest you use the Windows security mode and not the SQL Server security.
That way you can take advantage of all these features built in to Windows
security already.
Andrew J. Kelly SQL MVP
"Vetrivel" <vetkar123@.rediffmail.com> wrote in message
news:4a7a01c4739a$7f79c0e0$a301280a@.phx.gbl...
> Dear Sir/Mam,
> Kindly let me know that whether it is possible to set
> authentication locking mechanism that will provide the
> feature for disabling user accounts after 2 unsuccessful
> login attempts and automatic password expiry on SQL 2000
> clients.
> Regards
> Vetrivel.S

Sunday, March 11, 2012

Auditing changes to data

Hi Experts,
I want to audit the changes made to the data in the SQL
Server tables. How can I implement a audit mechanism?
Thanks,
HariHi,
You will have to use either of below 2 options:-
1. Write Insert / Update and delete triggers on each tables
2. Enable profiler, You have to run the profiler all the time.
But I feel that your pupose can only be solved by writing custom triggers on
each tables.
Thanks
Hari
MCDBA
"Hari" <anonymous@.discussions.microsoft.com> wrote in message
news:278e01c47dd7$09469dc0$a401280a@.phx.gbl...
> Hi Experts,
> I want to audit the changes made to the data in the SQL
> Server tables. How can I implement a audit mechanism?
> Thanks,
> Hari|||Hari
Create Audit Table with the same structure as real table . Create an
UPDATE/DELETE/INSERT trigger on real table and insert any changes into audit
table.
create trigger trigger_MyTable on MyTable after update
as
if @.@.ROWCOUNT = 0
return
insert MyAuditTable
select
i.ID
, d.MyColumn
, i.MyColumn
from
inserted i
join
deleted d on d.ID = o.Id
go
"Hari" <anonymous@.discussions.microsoft.com> wrote in message
news:278e01c47dd7$09469dc0$a401280a@.phx.gbl...
> Hi Experts,
> I want to audit the changes made to the data in the SQL
> Server tables. How can I implement a audit mechanism?
> Thanks,
> Hari|||There are also third party tools which audit by reading the transaction
logs... Lumigent has such a tool (www.Lumigent.com.)
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Hari" <anonymous@.discussions.microsoft.com> wrote in message
news:278e01c47dd7$09469dc0$a401280a@.phx.gbl...
> Hi Experts,
> I want to audit the changes made to the data in the SQL
> Server tables. How can I implement a audit mechanism?
> Thanks,
> Hari