plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Restricting logon to SQL Server

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Programming
View previous topic :: View next topic  
Author Message
kosta
Member
Member


Joined: 09 Aug 2015
Posts: 161
Location: Salonic

PostPosted: 15/10/2016 18:51    Post subject: Restricting logon to SQL Server Reply with quote

Restricting logon to SQL Server
Mika Wendelius
Introduction
Sometimes you may need to restrict the user from logging into SQL Server. This can be done in several ways and this article discusses two main techniques:
Using a logon trigger
Using a database specific procedure to control login

The variations using logon trigger are typically used when the user authentication is done by the SQL Server. The procedural approach can be used in many kinds of situations even if the connecting login is always the same from SQL Server point of view. Of course these examples can be modified in several ways to achieve desired logic.

http://www.codeproject.com/Articles/1139017/Restricting-logon-to-SQL-Server
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Programming All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro