Re: More before-the-fact advice for 2K and XP?

From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 12/27/04


Date: Mon, 27 Dec 2004 00:10:28 -0700

It would be a great deal more simple if the template
for new profile ACLing were accessible.

The behavior you noted for shortcuts are curious,
able to use them without a grant of execute but not
if also with a deny of (file only) execute. Strange that.

Good luck.

-- 
Roger
"Gordon Fecyk" <gordonf@pan-am.ca> wrote in message
news:%23SInETg6EHA.2876@TK2MSFTNGP12.phx.gbl...
> > It looks to me like you need both a startup script, to remove the
> > permission to change permission of the specific account, and a
> > login script to handle new profiles.  I would as a first step in
> > modifying a profile write a null .txt file and set its permissions
> > so it will stay put, and then check profiles for this file and avoid
> > processing if present (else attempting to modify an already
> > modified is guaranteed to fail).
> >
> > All very messy.
>
> First off, the security templates I referred to don't seem to let me
specify
> %userprofile% at all. As you pointed out, needing to change newly created
> profiles makes that difficult.
>
> Which is why I wanted to know where in the OS it defaults to "Full
Control"
> for user profiles in the first place.
>
> Group Policy for XP lets you specify allow/deny for executables by path,
as
> well as by hash, digital signature, etc, so this could work for XP:
>
>
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/srp_path.mspx
>
> I haven't yet tried this to see if it takes environment variables like
> %userprofile% into account.  This seems like the best solution but it
> requires XP.
>
> Now I've just been in a support ticket with a MS tech on this.  He told me
> about xcacls.vbs, which I now have a copy of.  We first tried /E 6 (deny
> execute, files only) which denies executables alright, but as you pointed
> out, also breaks shortcuts (send to and Quick Launch also break).
>
> By comparison, if I create two ACLs with the GUI - one for "this folder
and
> subfolders" with Full Control, and one for "Files Only" with all but
Execute
> granted, shortcuts work again but executables do not, which is exactly the
> behaviour I'm looking for.  I just need to figure out how to translate
these
> ACLs into command lines that work in xcacls.vbs.
>
> I only have to have one line (or maybe two lines) in a login script, one
for
> each ACL, and I'm assured that %userprofile% exists before the login
script
> launches. I could repeat this step with %homedrive%\%homepath% (or
whatever)
>  in a domain if the logon server is Win2K or better. On a P-3 with a
> reasonably fast hard drive, it only takes 1.5 seconds (according to
> xcacls.vbs) to execute.
>
> Sure a smart user could go and change the ACL for a single file they
> downloaded. If they want to deliberately go and damage their profile,
well,
> that's one extra hurdle a user has to jump.  If seeing "Access Denied"
once
> makes the user think, well, making the user think is half the battle.
>
> I'll come back to this after I've had a chance to play more with the
> xcacls.vbs.
>
> -- 
> PGP key (0x0AFA039E): <http://www.pan-am.ca/consulting@pan-am.ca.asc>
> Sometimes it's hard to tell where the game ends and where reality bites,
> er, begins. <http://vmyths.com/resource.cfm?id=50&page=1>
>
>


Relevant Pages

  • Re: [SLE] ntp client -- warning from yast
    ... The warning says: ... there is a command I can execute from a shell, ... One solution is to use profiles. ... Open Wireless for places where I might alternatively take the laptop. ...
    (SuSE)
  • Re: Network printer connection
    ... to all profiles on the machine. ... >I tried adding the following to my SMS Installer script and it did not work ... >> If I execute a command line in my SMS install package like the following ... >>> Terry ...
    (microsoft.public.sms.installer)
  • Re: [opensuse] problems after upgrade to 10.2
    ... Chances are very good that your AppArmor profiles are all out of date. ... executable privileges. ... The symptom of failure to map a library with execute permission is ... I would suggest either inspecting the .rpmnew profiles to see what new ...
    (SuSE)
  • Re: Adding Start Menu Icons to TS user profiles....
    ... If you want to add shortcuts for all users, you can add them to the ... But since you already have a bunch of personal profiles, ... You can either create a login script ... Users will have to "pin" them themselves. ...
    (microsoft.public.windows.terminal_services)
  • Re: Disconnecting & Forcing Logoff
    ... shortcuts, and users don't have execute rights. ... can their session be "instantly" reconnected. ... Redirection, mandatory profiles, roaming profiles, default ... 'All Users' folder on the TS and that does put the icons on the ...
    (microsoft.public.windows.terminal_services)

Quantcast