Re: ImpersonateLoggedOnUser and SetFileAttributes



I presume you did check that, but just in case: you actually verified the
attribute on the file after access was granted?

Yep, sure did.

Have you tried it the other way around, i.e., single ACE grant-RW to an
admin and impersonate a non-admin account?

Yes, access is denied as it should be. It seems to be only users with
administrative privileges who can do it.

Yes, that does not look normal. Do you have an AV on the system with this
behaviour? Have you tried with the AV uninstalled?

Same behaviour on a PC with AV and a completely clean system (no AV, no
firewall, only Vistual Studio)..

(sorry about the crosspost to platformsdk.security)

Ah! Sorry about the NON-crosspost :o)

Could somebody out there verify this behaviour for me?

Thanks,

Sebastian Bargmann


.



Relevant Pages

  • Re: SPFileCollection , files.add method PROBLEMS
    ... Try to impersonate as an admin. ... A_7, DateTime A_8) ... file, SPUser createdBy, SPUser modifiedBy, DateTime timeCreated, ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Time machine interval
    ... Jolly Roger wrote: ... but worked fine from an admin account. ... non-admin account it asked for an admin name and password and then ... It caused grief for quite a few of us, who wondered if we had mistyped ...
    (comp.sys.mac.apps)
  • Re: How to inhibit download warning
    ... the applications I have installed are set to my non-admin account as the owner, ... This seems strange to me considering I have installed almost all of them from the non-admin account, supplying the administrator name and password when requested each time. ... I expected the applications to be owned by the administrator account whose credentials I supplied. ... Personally, I don't like being able to write to applications while in my everyday user account, so I instal everything as admin. ...
    (comp.sys.mac.system)
  • RE: Unknown login access
    ... I tried this before like removing all the users who are not admin from ... But when i access the portal with non-admin account it has given the access ... > account in the administrator site group. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Changing account from admin to standard
    ... Any admin level changes you try to make ... I use a non-admin account on ... my iMac but I have put it in the sudoers file so I can sudo from ... It is still a non-admin account. ...
    (comp.sys.mac.system)