WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

"security key"

 
   Home -> Windows -> Device Driver RSS
Next:  Automatic appliation size and position at startup  
Author Message
sebastien

External


Since: May 08, 2007
Posts: 2



(Msg. 1) Posted: Tue Aug 12, 2008 10:49 am
Post subject: "security key"
Archived from groups: microsoft>public>windowsxp>device_driver>dev, others (more info?)

hello,

hello, in this example, how we calculate this key ? is it once per
software ?


reg add "\\%CPNAM%\HKLM\SYSTEM\CurrentControlSet\Services\OpenSSHd
\Security" /v Security /t REG_BINARY /d
"01001480C0000000CC0000001400000034000000020020000100000002801800FF010F000101000000000001000000002002000002008C0005000000000018008D0102000101000000000001000000007200760000001C00FD010200010200000000000520000000230200007300760000001C00FF010F00010200000000000520000000200200007300760000001C00FF010F00010200000000000520000000250200007300760000001800FD01020001010000000000051200000025020000010100000000000512000000010100000000000512000000" /
f
::###
Back to top
Login to vote
Kalle Olavi Niemitalo

External


Since: Aug 16, 2008
Posts: 1



(Msg. 2) Posted: Sat Aug 16, 2008 12:56 pm
Post subject: Re: "security key" [Login to view extended thread Info.]
Archived from groups: microsoft>public>windowsxp>device_driver>dev, others (more info?)

"sebastien@willemijns.com" <sebastien.RemoveThis@willemijns.com> writes:

> hello, in this example, how we calculate this key ? is it once per
> software ?
>
>
> reg add "\\%CPNAM%\HKLM\SYSTEM\CurrentControlSet\Services\OpenSSHd\Security"
> /v Security /t REG_BINARY /d
> "01001480C0000000CC0000001400000034000000020020000100000002801800FF010F000101000000000001000000002002000002008C0005000000000018008D0102000101000000000001000000007200760000001C00FD010200010200000000000520000000230200007300760000001C00FF010F00010200000000000520000000200200007300760000001C00FF010F00010200000000000520000000250200007300760000001800FD01020001010000000000051200000025020000010100000000000512000000010100000000000512000000"
> /f

That controls which users can e.g. start and stop the service.
Often you can leave this out and let Windows use its defaults.
IIRC, the value is formatted as a self-relative security
descriptor. However the documented way of setting it is with
the SetServiceObjectSecurity function, rather than by writing
directly to the Registry.

* Service Security and Access Rights
http://msdn.microsoft.com/library/ms685981.aspx
Lists the rights you can grant here, and the defaults.

* Modifying the DACL for a Service
http://msdn.microsoft.com/library/ms684215.aspx
An example about SetServiceObjectSecurity.

* ConvertSecurityDescriptorToStringSecurityDescriptor Function
http://msdn.microsoft.com/library/aa376397.aspx
Converts a security descriptor to a string that is easier to
understand than the hexadecimal numbers.

* !sd
http://msdn.microsoft.com/library/cc266947.aspx
A debugger extension command to display a security descriptor.
Saves you from having to write your own program for this.

* Permission Element
http://wix.sourceforge.net/manual-wix2/wix_xsd_permission.htm
Windows Installer does not itself support setting access control
lists for services, but WiX has custom actions for that.

Note, you should be careful about granting SERVICE_CHANGE_CONFIG.
A user with this access right can change the service to run a
program of his/her choosing, and also to execute with LocalSystem
permissions and all privileges. So when the service next starts,
he/she would then have unlimited access to the computer.

Followups set to microsoft.public.platformsdk.security.
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows -> Device Driver All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
  Windows XP
 Windows Vista
 Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET