Only allow a user to connect from a machine

  • Hi,

    I have a problemn, I have a user that connects from other servers to my database. So far so good... But my devolopers are using this account to log in from there computers to the production server.

    How can I arrange that this user only may connect when it is logged on to a specifict machine and not from a other machine? Is this possible for SQL-Users (not domain users)?

    Thanks for you reply in advance!

    Best regards,

    Mischa Hoogendoorn

    DBA

  • Mischa,

    Look for Logon Triggers. You can use this kind of trigger to perform an action as soon as a connection is made.

    hth,

    Robbert Hof

  • Thanks! This was a big help for me! 🙂

    It works great now... I have made a table that holds the hostnames that are allowed to log in using this account...

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply