Click here to get back home

How to create a user with access to one server only.

 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
How to create a user with access to one server only. Allan Bentsen 04-30-2007
Posted by Allan Bentsen on April 30, 2007, 6:48 am
Please log in for more thread options
Hi,

I would like to create a domain-wide user account with almost no rights at
all, except to use a web server inside a firewall.
The reason, is to manage the user in the AD, but have the user behave like a
local user account on a specified machine.

I am running a windows server 2003 and Active Directory.

Is it possible to create a Domain User Group that has no access at all, if
so how to do it ?

Are there any pitfalls ?

I know that this is a kind of upside down, but nevertheless, neccesary :-)

TIA

/allan



Posted by Roger Abell [MVP] on May 1, 2007, 12:56 am
Please log in for more thread options
> Hi,
>
> I would like to create a domain-wide user account with almost no rights at
> all, except to use a web server inside a firewall.
> The reason, is to manage the user in the AD, but have the user behave like
> a local user account on a specified machine.
>
> I am running a windows server 2003 and Active Directory.
>
> Is it possible to create a Domain User Group that has no access at all, if
> so how to do it ?
>
> Are there any pitfalls ?
>
> I know that this is a kind of upside down, but nevertheless, neccesary :-)
>

Hi Allan,

Most people fail to take explicity control over login rights on
individual machines, leaving Domain Users and Authenticated
Users as members in the Users group of domain joined machines.

I will assume that is the case in your circumstance.

If you define a domain global group, which you will use nowhere,
and after defining your user change the primary group of that user
from Domain Users to your custom, nowhere used domain global
group, then you have gone partway down the road of restricting
the grants normally allowed to any account (i.e. those conferred
by means of Domain Users).

The account will still be recognized as an Authenticated User,
and there is nothing you can do to prevent that. So, the account
does still have some grants to it automatically. Those do in the
default (i.e. if control over login rights has not been designed as
part of the deployment) grant login to, for example, all client
machines. So, to limit this, if your domain uses NetBIOS over
Tcp, use the properties of the account to limit the computers
the account is allowed to log into. If your domain does not use
NetBT, or if you want added protection, you can use a login
script that detect the computer logged into, and if it is incorrect
the script does an immediate logoff.

You would of course add the user account to the login rights on
the one desired machine, and to its Users group.
Having done all of the above the account is reasonably restricted
but it is still useable beyond what was intended, due to grants to
Authenticated Users scattered about in your domain and in AD.
Some of these are needed for the account to function as a domain
account, the others are pretty tough to rule out if the initial design
was not attempting to cover this scenario of account control.

Roger



Posted by Allan Bentsen on May 6, 2007, 3:56 pm
Please log in for more thread options
Hi Roger,

Thank you for the excellent answer.

It seems, that the only way, is to try as you suggests.

I was expecting something like your suggestion, but with your information, i
think this could be a solution.

Again, thanks for your time.

/Allan

>> Hi,
>>
>> I would like to create a domain-wide user account with almost no rights
>> at all, except to use a web server inside a firewall.
>> The reason, is to manage the user in the AD, but have the user behave
>> like a local user account on a specified machine.
>>
>> I am running a windows server 2003 and Active Directory.
>>
>> Is it possible to create a Domain User Group that has no access at all,
>> if so how to do it ?
>>
>> Are there any pitfalls ?
>>
>> I know that this is a kind of upside down, but nevertheless, neccesary
>> :-)
>>
>
> Hi Allan,
>
> Most people fail to take explicity control over login rights on
> individual machines, leaving Domain Users and Authenticated
> Users as members in the Users group of domain joined machines.
>
> I will assume that is the case in your circumstance.

>
> If you define a domain global group, which you will use nowhere,
> and after defining your user change the primary group of that user
> from Domain Users to your custom, nowhere used domain global
> group, then you have gone partway down the road of restricting
> the grants normally allowed to any account (i.e. those conferred
> by means of Domain Users).
>
> The account will still be recognized as an Authenticated User,
> and there is nothing you can do to prevent that. So, the account
> does still have some grants to it automatically. Those do in the
> default (i.e. if control over login rights has not been designed as
> part of the deployment) grant login to, for example, all client
> machines. So, to limit this, if your domain uses NetBIOS over
> Tcp, use the properties of the account to limit the computers
> the account is allowed to log into. If your domain does not use
> NetBT, or if you want added protection, you can use a login
> script that detect the computer logged into, and if it is incorrect
> the script does an immediate logoff.
>
> You would of course add the user account to the login rights on
> the one desired machine, and to its Users group.
> Having done all of the above the account is reasonably restricted
> but it is still useable beyond what was intended, due to grants to
> Authenticated Users scattered about in your domain and in AD.
> Some of these are needed for the account to function as a domain
> account, the others are pretty tough to rule out if the initial design
> was not attempting to cover this scenario of account control.
>
> Roger
>
>



Posted by Roger Abell [MVP] on May 8, 2007, 1:01 am
Please log in for more thread options

> Hi Roger,
>
> Thank you for the excellent answer.
>
> It seems, that the only way, is to try as you suggests.
>
> I was expecting something like your suggestion, but with your information,
> i think this could be a solution.
>
> Again, thanks for your time.
>
> /Allan
>

No problem Allan. Good luck, as the case is hard to
resolve if the infrastructure was left at install defaults
relative to joined machines Users group memberships
and/or user rights.

>>> Hi,
>>>
>>> I would like to create a domain-wide user account with almost no rights
>>> at all, except to use a web server inside a firewall.
>>> The reason, is to manage the user in the AD, but have the user behave
>>> like a local user account on a specified machine.
>>>
>>> I am running a windows server 2003 and Active Directory.
>>>
>>> Is it possible to create a Domain User Group that has no access at all,
>>> if so how to do it ?
>>>
>>> Are there any pitfalls ?
>>>
>>> I know that this is a kind of upside down, but nevertheless, neccesary
>>> :-)
>>>
>>
>> Hi Allan,
>>
>> Most people fail to take explicity control over login rights on
>> individual machines, leaving Domain Users and Authenticated
>> Users as members in the Users group of domain joined machines.
>>
>> I will assume that is the case in your circumstance.
>
>>
>> If you define a domain global group, which you will use nowhere,
>> and after defining your user change the primary group of that user
>> from Domain Users to your custom, nowhere used domain global
>> group, then you have gone partway down the road of restricting
>> the grants normally allowed to any account (i.e. those conferred
>> by means of Domain Users).
>>
>> The account will still be recognized as an Authenticated User,
>> and there is nothing you can do to prevent that. So, the account
>> does still have some grants to it automatically. Those do in the
>> default (i.e. if control over login rights has not been designed as
>> part of the deployment) grant login to, for example, all client
>> machines. So, to limit this, if your domain uses NetBIOS over
>> Tcp, use the properties of the account to limit the computers
>> the account is allowed to log into. If your domain does not use
>> NetBT, or if you want added protection, you can use a login
>> script that detect the computer logged into, and if it is incorrect
>> the script does an immediate logoff.
>>
>> You would of course add the user account to the login rights on
>> the one desired machine, and to its Users group.
>> Having done all of the above the account is reasonably restricted
>> but it is still useable beyond what was intended, due to grants to
>> Authenticated Users scattered about in your domain and in AD.
>> Some of these are needed for the account to function as a domain
>> account, the others are pretty tough to rule out if the initial design
>> was not attempting to cover this scenario of account control.
>>
>> Roger
>>
>>
>
>



Posted by DaveMo on May 8, 2007, 9:51 am
Please log in for more thread options
>
>
> > Hi Roger,
>
> > Thank you for the excellent answer.
>
> > It seems, that the only way, is to try as you suggests.
>
> > I was expecting something like your suggestion, but with your information,
> > i think this could be a solution.
>
> > Again, thanks for your time.
>
> > /Allan
>
> No problem Allan. Good luck, as the case is hard to
> resolve if the infrastructure was left at install defaults
> relative to joined machines Users group memberships
> and/or user rights.
>
>
>
> >>> Hi,
>
> >>> I would like to create a domain-wide user account with almost no rights
> >>> at all, except to use a web server inside a firewall.
> >>> The reason, is to manage the user in the AD, but have the user behave
> >>> like a local user account on a specified machine.
>
> >>> I am running a windows server 2003 and Active Directory.
>
> >>> Is it possible to create a Domain User Group that has no access at all,
> >>> if so how to do it ?
>
> >>> Are there any pitfalls ?
>
> >>> I know that this is a kind of upside down, but nevertheless, neccesary
> >>> :-)
>
> >> Hi Allan,
>
> >> Most people fail to take explicity control over login rights on
> >> individual machines, leaving Domain Users and Authenticated
> >> Users as members in the Users group of domain joined machines.
>
> >> I will assume that is the case in your circumstance.
>
> >> If you define a domain global group, which you will use nowhere,
> >> and after defining your user change the primary group of that user
> >> from Domain Users to your custom, nowhere used domain global
> >> group, then you have gone partway down the road of restricting
> >> the grants normally allowed to any account (i.e. those conferred
> >> by means of Domain Users).
>
> >> The account will still be recognized as an Authenticated User,
> >> and there is nothing you can do to prevent that. So, the account
> >> does still have some grants to it automatically. Those do in the
> >> default (i.e. if control over login rights has not been designed as
> >> part of the deployment) grant login to, for example, all client
> >> machines. So, to limit this, if your domain uses NetBIOS over
> >> Tcp, use the properties of the account to limit the computers
> >> the account is allowed to log into. If your domain does not use
> >> NetBT, or if you want added protection, you can use a login
> >> script that detect the computer logged into, and if it is incorrect
> >> the script does an immediate logoff.
>
> >> You would of course add the user account to the login rights on
> >> the one desired machine, and to its Users group.
> >> Having done all of the above the account is reasonably restricted
> >> but it is still useable beyond what was intended, due to grants to
> >> Authenticated Users scattered about in your domain and in AD.
> >> Some of these are needed for the account to function as a domain
> >> account, the others are pretty tough to rule out if the initial design
> >> was not attempting to cover this scenario of account control.
>
> >> Roger- Hide quoted text -
>
> - Show quoted text -

If you have more flexibility in rearranging the furniture, there is an
excellent way to do this. If you can aggregate this user - and
possibly others like him/her - into a new forest then you could use
Selective Authentication to restrict the users access. Your scenario
sounds like exactly one of the use cases for this feature in Windows.
For more info see
http://technet2.microsoft.com/windowsserver/en/library/9266b197-7fc9-4bd8-8864-4c119ceecc001033.mspx?mfr=true


HTH,
Dave


Similar ThreadsPosted
Create restricted user account, 2003 server AD domain November 10, 2005, 10:39 pm
Need a HOW TO create a client certificate for partner access August 17, 2005, 4:12 pm
How to Create Restricted User at the Win2K3 DOMAIN Controller August 14, 2007, 2:00 am
Create a domain account with full access to all files and folders? October 24, 2006, 11:03 am
Create User and Auto Assign to Domain Security Group January 31, 2007, 12:27 pm
Windows domain user is sometimes denied access to server share October 2, 2006, 5:07 am
deny create folder but allow create files June 16, 2005, 12:08 pm
Trying to create and debug ASP.NET on Windows 2003 Server February 1, 2006, 5:45 pm
Create a new Web Security Certificate 2003 Server December 27, 2006, 11:16 am
Use Windows 2003 CA to create a web server certificate with alternative DNS names June 2, 2007, 1:02 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap