Click here to get back home

Permit only one network logon per user

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Permit only one network logon per user Christian Thies [Ar] 08-15-2007
Get Chitika Premium
Posted by flibbitz on August 17, 2007, 12:55 am
Please log in for more thread options
Are you trying to use the username that the users use to log into Windows
as your limiting factor, or is there a separate logon to your "product"?
If the latter, your product will have to maintain its own set of
usernames and passwords, and should handle limiting multiple logins
itself.
If the former, what is to stop (for one example) the same person from
logging in twice using different Windows usernames, and using your
product twice that way? It comes down to who is in control of creating
the usernames and how users are authenticated.

It sounds like you should "build your product" so that it handles this
itself, and not rely on altering the behaviour of Windows. No one I know
would be likely to buy a product if it required changes to their domain
like what you are asking for (except perhaps if they would use all the
computers in the domain for nothing but running that one product).

There are situations where there are reasons to limit the number of
simultaneous logins (such as in a school, to keep students from
"hogging" multiple computers in a shared lab, for example), and there are
products that provide this sort of function. However, I can't see much
desirability in this being done to control access to a single program.

Look at what many commercial programs/packages do - they often use their
own licencing system that controls who or what computers can run the
program, and/or limits the number of users/machines that can run the
program at one time. Actually, they often buy something like FlexLM
(among others) to include in their product for this sort of thing,
instead of creating their own licencing system.




> I'm building a product that is accessed with a username and password,
> and for preventing unauthorized access to it, I need to prevent
> multiple simultaneous logons with the same username and password
>
>
>
> Sorry about my English. Let me know if the answer is clear
>
>
>
> Christian
>
>> Why do you need to do this? What security risk do you need to
>> mitigate?
>>
>> Steve Riley
>> steve.riley@microsoft.com
>> http://blogs.technet.com/steriley
>>
>>
>>> Hi, I have Windows 2003 domain working. I need to allow only one
>>> network logon per user.
>>>
>>>
>>>
>>> The example is:
>>>
>>>
>>>
>>> User: username
>>>
>>> Status: Logged
>>>
>>>
>>>
>>> If user username try to login from a different machine, and he is
>>> logged in another, the login attempt must be denied
>>>
>>>
>>>
>>> How can I accomplish this?
>>>
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>>
>
>


Posted by Christian Thies [Ar] on August 17, 2007, 10:52 am
Please log in for more thread options
Flibbitz, thanks for you answer



The domain is exclusive for sharing this service. I've tried to control
username and passwords in a non domain scenario, but I couldn't/don't know
how.


In the other hand, I am actually controlling a much demanded content. So
part of the contract users sign is that I control usernames and passwords


The domain can be removed if I can control access in a group environment



IŽll try the product FlexLM and let you know if fits to my needs




Regards





> Are you trying to use the username that the users use to log into Windows
> as your limiting factor, or is there a separate logon to your "product"?
> If the latter, your product will have to maintain its own set of
> usernames and passwords, and should handle limiting multiple logins
> itself.
> If the former, what is to stop (for one example) the same person from
> logging in twice using different Windows usernames, and using your
> product twice that way? It comes down to who is in control of creating
> the usernames and how users are authenticated.
>
> It sounds like you should "build your product" so that it handles this
> itself, and not rely on altering the behaviour of Windows. No one I know
> would be likely to buy a product if it required changes to their domain
> like what you are asking for (except perhaps if they would use all the
> computers in the domain for nothing but running that one product).
>
> There are situations where there are reasons to limit the number of
> simultaneous logins (such as in a school, to keep students from
> "hogging" multiple computers in a shared lab, for example), and there are
> products that provide this sort of function. However, I can't see much
> desirability in this being done to control access to a single program.
>
> Look at what many commercial programs/packages do - they often use their
> own licencing system that controls who or what computers can run the
> program, and/or limits the number of users/machines that can run the
> program at one time. Actually, they often buy something like FlexLM
> (among others) to include in their product for this sort of thing,
> instead of creating their own licencing system.
>
>
>
>
>> I'm building a product that is accessed with a username and password,
>> and for preventing unauthorized access to it, I need to prevent
>> multiple simultaneous logons with the same username and password
>>
>>
>>
>> Sorry about my English. Let me know if the answer is clear
>>
>>
>>
>> Christian
>>
>>> Why do you need to do this? What security risk do you need to
>>> mitigate?
>>>
>>> Steve Riley
>>> steve.riley@microsoft.com
>>> http://blogs.technet.com/steriley
>>>
>>>
>>>> Hi, I have Windows 2003 domain working. I need to allow only one
>>>> network logon per user.
>>>>
>>>>
>>>>
>>>> The example is:
>>>>
>>>>
>>>>
>>>> User: username
>>>>
>>>> Status: Logged
>>>>
>>>>
>>>>
>>>> If user username try to login from a different machine, and he is
>>>> logged in another, the login attempt must be denied
>>>>
>>>>
>>>>
>>>> How can I accomplish this?
>>>>
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>>
>>>>
>>
>>
>



Posted by Roger Abell [MVP] on August 17, 2007, 9:55 am
Please log in for more thread options
Hi Christian,

I guess I do not understand how limiting to one session is in fact
preventing unauthorized access.
Assuming it somehow does help, then how does it make sure that
the correct person is the one allowed the one available session?

Anyway, cconnect and limitlogin are fairly heavy to implement.
Take a look at the following for the select few accounts needed:
http://support.microsoft.com/kb/260364

Roger

> I'm building a product that is accessed with a username and password, and
> for preventing unauthorized access to it, I need to prevent multiple
> simultaneous logons with the same username and password
>
>
>
> Sorry about my English. Let me know if the answer is clear
>
>
>
> Christian
>
>> Why do you need to do this? What security risk do you need to mitigate?
>>
>> Steve Riley
>> steve.riley@microsoft.com
>> http://blogs.technet.com/steriley
>>
>>
>>> Hi, I have Windows 2003 domain working. I need to allow only one network
>>> logon per user.
>>>
>>>
>>>
>>> The example is:
>>>
>>>
>>>
>>> User: username
>>>
>>> Status: Logged
>>>
>>>
>>>
>>> If user username try to login from a different machine, and he is logged
>>> in another, the login attempt must be denied
>>>
>>>
>>>
>>> How can I accomplish this?
>>>
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>>
>>>
>
>



Posted by Christian Thies [Ar] on August 17, 2007, 11:15 am
Please log in for more thread options
Roger, you're right. I'm not preventing, I have a clue if I log trys of
multiple logins
The content is used 7*24*365. So a logged user will keep logged all the
time. Any attempt to log in with an already logged credential is a violation
(or error).

You're also right about cconnect, I'm rebuilding my DC after trying, but I
think I made a mistake and I'm going to try again

Another point is this, I need to prevent access to a mms (or http)
connection, not a shared resource in a netowrk

Regards

> Hi Christian,
>
> I guess I do not understand how limiting to one session is in fact
> preventing unauthorized access.
> Assuming it somehow does help, then how does it make sure that
> the correct person is the one allowed the one available session?
>
> Anyway, cconnect and limitlogin are fairly heavy to implement.
> Take a look at the following for the select few accounts needed:
> http://support.microsoft.com/kb/260364
>
> Roger
>
>> I'm building a product that is accessed with a username and password, and
>> for preventing unauthorized access to it, I need to prevent multiple
>> simultaneous logons with the same username and password
>>
>>
>>
>> Sorry about my English. Let me know if the answer is clear
>>
>>
>>
>> Christian
>>
>>> Why do you need to do this? What security risk do you need to mitigate?
>>>
>>> Steve Riley
>>> steve.riley@microsoft.com
>>> http://blogs.technet.com/steriley
>>>
>>>
>>>> Hi, I have Windows 2003 domain working. I need to allow only one
>>>> network logon per user.
>>>>
>>>>
>>>>
>>>> The example is:
>>>>
>>>>
>>>>
>>>> User: username
>>>>
>>>> Status: Logged
>>>>
>>>>
>>>>
>>>> If user username try to login from a different machine, and he is
>>>> logged in another, the login attempt must be denied
>>>>
>>>>
>>>>
>>>> How can I accomplish this?
>>>>
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>>
>>>>
>>
>>
>
>



Posted by Roger Abell [MVP] on August 17, 2007, 11:31 am
Please log in for more thread options
> Roger, you're right. I'm not preventing, I have a clue if I log trys of
> multiple logins
> The content is used 7*24*365. So a logged user will keep logged all the
> time. Any attempt to log in with an already logged credential is a
> violation (or error).
>
> You're also right about cconnect, I'm rebuilding my DC after trying, but I
> think I made a mistake and I'm going to try again
>
> Another point is this, I need to prevent access to a mms (or http)
> connection, not a shared resource in a netowrk
>

All three methods indicated, cconnect, limitlogon, and the share-based
of the KB provided, intend to prevent a second local login.
It sounds to me that you really want a mod in the app so that it does not
allow a second connection to it using the same creds.


>
>> Hi Christian,
>>
>> I guess I do not understand how limiting to one session is in fact
>> preventing unauthorized access.
>> Assuming it somehow does help, then how does it make sure that
>> the correct person is the one allowed the one available session?
>>
>> Anyway, cconnect and limitlogin are fairly heavy to implement.
>> Take a look at the following for the select few accounts needed:
>> http://support.microsoft.com/kb/260364
>>
>> Roger
>>
>>> I'm building a product that is accessed with a username and password,
>>> and for preventing unauthorized access to it, I need to prevent multiple
>>> simultaneous logons with the same username and password
>>>
>>>
>>>
>>> Sorry about my English. Let me know if the answer is clear
>>>
>>>
>>>
>>> Christian
>>>
>>>> Why do you need to do this? What security risk do you need to mitigate?
>>>>
>>>> Steve Riley
>>>> steve.riley@microsoft.com
>>>> http://blogs.technet.com/steriley
>>>>
>>>>
>>>>> Hi, I have Windows 2003 domain working. I need to allow only one
>>>>> network logon per user.
>>>>>
>>>>>
>>>>>
>>>>> The example is:
>>>>>
>>>>>
>>>>>
>>>>> User: username
>>>>>
>>>>> Status: Logged
>>>>>
>>>>>
>>>>>
>>>>> If user username try to login from a different machine, and he is
>>>>> logged in another, the login attempt must be denied
>>>>>
>>>>>
>>>>>
>>>>> How can I accomplish this?
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
>
>



Similar ThreadsPosted
"the local policy of this system does not permit you to logon interactively" April 11, 2007, 5:15 pm
Fatal exception 0E has occurred at 0028:c000A97F in VXD VMM(01)+000997F Seems to be after network logon. May 30, 2007, 12:54 pm
User Logon April 15, 2008, 9:54 pm
user logon time tracking November 3, 2006, 1:08 am
User must change the password at first logon November 5, 2008, 11:19 am
Questions on Authenticated Users and Access This Computer From Network User Right July 2, 2006, 8:38 pm
There are currently no logon servers available to service the logon request - how to fix this error? i get it when trying to access a share one hop away. April 12, 2007, 6:03 pm
"Network Service" account is UNABLE to write to a network shared folder April 18, 2007, 7:01 pm
Workstations showing logon failures by users can still logon? November 27, 2007, 6:56 pm
Just one logon January 5, 2006, 11:56 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap