ちゃっぴの監禁部屋

ガチガチに締めすぎて動きがとれなくなる。。。

ホーム 連絡をする 同期する ( RSS 2.0 ) Login
投稿数  405  : 記事  5  : コメント  3248  : トラックバック  134

ニュース

記事カテゴリ

書庫

日記カテゴリ

Communities

Personal Information

下記の続き

Windows Event Log の ACL を簡単に取得する方法が判明しました。

Windows Event Log は Windows Vista 以降で追加されたものですが、Windows Vista 以降では Windows Event Log を管理する command utility “Wevtutil.exe” が追加されています。これを利用することで、下記のようにして簡単に ACL を取得することができます。

>wevtutil.exe gl "Application"
name: application
enabled: true
type: Admin
owningPublisher:
isolation: Application
channelAccess: O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU
)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x3;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)
logging:
  logFileName: %SystemRoot%\System32\Winevt\Logs\application.evtx
  retention: false
  autoBackup: false
  maxSize: 20971520
publishing:

"channelAccess" に表示されている SDDL が ACL ですね。

設定は下記のようにして行います。

>wevtutil.exe sl "Application" /ca:"%SDDL%"

"%SDDL%" には設定する ACL を SDDL 形式にて指定してください。

さて、この設定はどこに施されるのでしょう?

確認したところ、application log の場合旧来と同じく下記に設定されることが確認できました。

HKLM\System\CurrentControlSet\Services\Eventlog\Application\CustomSD

Vista 以降で追加された channel に関しては下記ですね。

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\%ChannelName%\ChannelAccess

ということで、旧来から存在する event log に関しては設定個所は同じであることがわかりました。

なお、command line utility は紹介しましたが、API はどうなのかというと存在するようです。

EvtOpenChannelConfig FunctionEVT_HANDLE 取得して、EvtGetChannelConfigProperty FunctionEVT_CHANNEL_CONFIG_PROPERTY_ID Enumeration の EvtChannelConfigAccess を指定して呼び出せばよさげですね。

設定は EVT_HANDLE 取得した後に EvtSetChannelConfigProperty Function で設定して EvtSaveChannelConfig Function で保存。

最後に忘れちゃいけない後始末ってことで、EvtClose Function 呼んどきましょ。

多分これでいけると思います。時間あるときに検証してみます。

<追記>Sample ありました。
Getting and Setting a Channel's Configuration Properties

投稿日時 : 2009年9月11日 1:23

コメント

# Windows Event Log ACL 取得 Code Sample 2009/09/11 3:14 ちゃっぴの監禁部屋
Windows Event Log ACL 取得 Code Sample

# re: [Windows Mobile]USBキーボードを動かす程度の能力 2017/07/22 18:59 meadc
http://www.ray-ban-sunglasses.us ray-ban sunglasses
http://www.coach-factory-outlet.net coach outlet
http://www.puresoie.fr/ Nike Air Max 90
http://www.katespade.org.au Kate Spade - Online Sale
http://www.coachcarter.com.au coach carter
http://www.mizunoshoes.us Wave Prophecy 2 Shoes
http://www.pandora-rings.co.uk pandora uk
http://www.top-sunglasses.org top sunglasses
http://www.pumashoes.us/ puma shoes
http://www.salomon-shoes.com salomon sneakers
http://www.grandregency.fr/ Air Max Enfants
http://www.swatchwatch.us/ swatch watch
http://www.premierjewelry.us Premier Jewelry - Official
http://www.rayban-outlet.co/ ray ban outlet
http://www.pandoracharms.cc/ pandora charms
http://www.meteo-curtafond.fr/ Nike Air Jordan Enfants
http://www.prada-sunglasses.us Prada Sunglasses - Official
http://www.michael-kors.uk michael kors watches
http://www.artsensuel.fr Nike Air Jordan
me adc7.22wef

# re: ASP.NET MVCはフロントコントローラー方式 2017/10/16 15:22 dongdong8
http://www.montblanc-pens.name
http://www.adidasyeezy-boost.us.com
http://www.uggclearancesale.in.net
http://www.nikehuarache.net
http://www.michaelkors-handbags.us
http://www.christianlouboutinsale.co.uk
http://www.outletugg.com.co
http://www.nikerunningshoes.co.uk
http://www.newmichaelkorsoutlet.us.com
http://www.cheap-mlb-jerseys.us.com
http://www.adidastore.co.uk
http://www.uggoutletstore.net.co
http://www.longchamp-outletstore.us.com
http://www.poloshirt.in.net
http://www.nikerosherunsale.co.uk
http://www.uggbootsoutlets.in.net
http://www.northfaceoutletstore.us.org
http://www.cheapjerseysnflwholesale.us
http://www.hermesoutlets.us.com
http://www.jordans-fusion.com
http://www.air-jordanpascher.fr
http://www.pandora-jewelry.name
http://www.vansshoesoutlet-store.com
http://www.ugg-australia.com.co
http://www.ugg.ind.in
http://www.nmdadidas.co.uk
http://www.ugg-boots.name
http://www.uggoutlet.nom.co
http://www.converseshoesoutlet.us.com
http://www.adidastrainersuk.uk
http://www.pandorajewelryoutlet.us.org
http://www.raybanpascher.fr
http://www.uggfactoryoutlet.in.net
http://www.hollisterclothing.us.org
http://www.truereligion-outletjeans.us.com
http://dolceandgabbana.sunglassescheap.us.com
http://www.canadagooseclearance.us.com
http://www.ukuggboots.co.uk
http://www.coachoutletstoreonlineofficial.us.com
http://www.nike-airmaxuk.me.uk
http://www.thenorthfacecanada.ca
http://www.pandora-jewelry.me.uk
http://www.uggbootsclearances.com.co
http://www.michaelkorsoutletonline80off.us.com
http://www.wwwuggaustralia.co.uk
http://www.ray-bansunglasses2017.us.com
http://www.cheaplouboutinshoesuk.org.uk
http://www.outletuggboots.com.co
http://www.michaelkors-outletonline.eu.com
http://www.cheapraybansunglasses.net.co
http://www.canadagoosecanada.com.co
http://www.katespadehandbagsoutlet.us.org
http://www.canadagoosecanada.ca
http://www.nikefootballbootsuk.org.uk
http://www.ugg.org.uk
http://www.hermesbags.me.uk
http://www.cheap-uggboots.com.co
http://www.uggbootsonsale70off.com.co
http://www.fitflops.us.com
http://www.uggbootsclassic.ca
http://www.niketrainers.org.uk
http://www.uggboots70off.in.net
http://www.wholesale-nfl-jerseys.us
http://www.suprashoesclearance.us.com
http://www.chaussureschristianlouboutin.fr
http://www.north-face-outlet.in.net
http://www.manoloblahnik.us
http://www.katespade-outlet.in.net
http://www.thenorthface-outlet.in.net
http://www.doudounecanada-goose.fr
http://www.cheapmlbjerseysshop.us.com
http://www.katespadeoutletsale.us.com
http://www.jordanshoes.us.org
http://www.cheapmichaelkorshandbags.us.org
http://www.uggfed.com
http://www.burberryoutletoff.us.com
http://www.cheapnfljerseysshop.us.com
http://www.burberry.us.org
http://www.coachoutletonline70off.us.com
http://www.coach-outlet.nom.co
http://www.cheapjordansshoes.us.com
http://www.uggbootsclearances.com.co
http://www.christianlouboutinoutletuk.org.uk
http://www.poloralphlaurenoutletoff.us.com
http://www.canadagoosesale.com.co
http://www.pradahandbagsoutlet.us.com
http://www.ralphlauren.eu.com
http://www.ugg-italia.it
http://www.coachoutletonlineshopping.us.org
http://www.uggbootsoutletcanada.ca
http://www.burberryscarfsale.in.net
http://www.poloralphlaurenoutletstores.us.com
http://www.cheap-jordan-shoes.us.com
http://www.longchamp-handbags.us.org
http://dior.sunglassescheap.us.com
http://www.christianlouboutin.name
http://www.michaelkorsoutletoff.us.com
http://www.northfacejacket.us.com
http://www.newcoachoutlet.us.com
http://www.uggbootsonsale70off.us.org
http://www.stansmithadidas.us.com
http://www.pradaoutletonlinestore.us.com
http://www.nikeoff.com
http://www.uggbootsclearance.net.co
http://www.outletpolo-ralphlauren.us.com
http://www.cheapjordansshoes.in.net
http://www.michaelkorshandbags.nom.co
http://www.uggsoutlet.org
http://www.coachcom.us.com
http://www.timberlandoutlet.name
http://armani.sunglassescheap.us.com
http://www.outletugg.ca
http://www.ralphlaurenoutlet-poloshirts.us.com
http://www.ray-bansunglassesoutlet.com.co
http://www.nikeairforce1.net
http://www.uggoutletsonline.us.com
http://www.truereligionjeans-outlet.us.com
http://www.cheap-ugg-boots.us.org
http://www.pololaurenshirts.com
http://www.katespadehandbagssale.us.com
http://www.coachoutlet-factory.us.com
http://www.fitflopsoutlet.us.com
http://www.adidasshoesoutletstore.us.com
http://www.pandoracharmjewelry.us.com
http://www.canadagoose.com.co
http://www.outletthenorthface.us.com
http://www.northfaceclearance.us.com
http://www.cheapnfljerseyswholesale.us.com
http://www.beatsbydreheadphones.in.net
http://www.michaelkors--outlet.us.org
http://www.uggoutlet70off.com.co
http://www.uggsoutletstores.in.net
http://www.converse-outletstore.com
http://www.michael--korshandbags.us.com
http://www.uggslippers.us.org
http://www.juicycoutureoutlet.us.com
http://www.ray-bansunglassesoutlets.us.com
http://www.ugg.com.co
http://www.uggonsale.in.net
http://www.truereligion-jeans.com.co
http://www.michaelkors--outlet.us.com
http://www.coachoutlet-online.eu.com
http://www.adidaswings.name
http://www.adidasshoessale.in.net
http://www.hermesbirkinhandbags.us.com
http://www.ray-ban-sunglasses.com.au
http://www.louisvuittonhandbags.nom.co
http://www.montblanc.com.co
http://www.louisvuitonnoutlet.com
http://www.truereligionsale.com.co
http://www.vibramfivefingerssale.com
http://www.uggsaustraliaboots.us.com
http://www.coachfactoryoutletonlinesale.us.com
http://prada.sunglassescheap.us.com
http://www.pololaurenralphlauren.us.com
http://www.underarmouroutletclearance.com
http://www.nikefactory-outlet.us.com
http://www.supremeclothing.us.com
http://www.hollistercooutlet.us.com
http://www.uggbootsonsale70off.net.co
http://www.nfljerseysfromchina.us.com
http://www.coachoutlet70off.us.com
http://www.katespadeoutletstore.us.org
http://www.canadagoosecanada.name
http://www.wholesale-nfljerseys.us.com
http://www.blackhawksjersey.com
http://www.uggbootsoutletclearance.us.com
http://www.superdry.me.uk
http://www.coachoutletfactoryon.com
http://www.uggsadd.com
http://carrera.sunglassescheap.us.com
http://www.christianlouboutinoutletusa.us.com
http://www.salvatoreferragamo.in.net
http://www.cheapairjordans.us.com
http://cartier.sunglassescheap.us.com
http://www.oakleysunglassessport.us.com
http://www.redbottoms.org.uk
http://www.ralphlaurenpolooutlet.us.org
http://www.coach-factoryoutletusa.com
http://www.nike-factoryoutlet.us.com
http://www.truereligionuk.org.uk
http://www.fitflops.org
http://www.burberryoutlet-canada.ca
http://www.uggsoutletstore.org
http://www.fitflopssaleclearance.us.org
http://www.michaelkorsoutlet70off.us.com
http://www.pandorajewelrycanada.ca
http://www.canadagoosesale.name
http://www.nikeairjordans.co.uk
http://www.snapbackshatswholesale.us.com
http://www.toryburchhandbagsoutlet.us.com
http://www.uggsclassicboots.us.com
http://www.saleuggboots.co.uk
http://www.uggsonline.in.net
http://www.outletlongchamp.us.org
http://www.clearancemichaelkorsoutlet.us.com
http://www.airjordan-14.us
http://www.cheapraybans.ca
http://www.montblanc-pens.name
http://www.adidasyeezy-boost.us.com
http://www.uggclearancesale.in.net
http://www.nikehuarache.net
http://www.michaelkors-handbags.us
http://www.christianlouboutinsale.co.uk
http://www.outletugg.com.co
http://www.nikerunningshoes.co.uk
201710.16wengdongdong


# re: [Windows Mobile]USBキーボードを動かす程度の能力 2017/11/18 16:00 me adc
http://www.michaelkorsoutletonline.org/ michael kors outlet online sale
http://www.ugguk.co.uk ugg


# re: Adobe Reader X on Windows 7 disabled UAC 2018/04/25 15:13 chenlixiang
http://www.airmax-90.in.net
http://www.rolex--watches.co.uk
http://www.polo--ralphlauren.us
http://www.chaussuresnikeblazer.fr
http://www.jimmy-choo-shoes.in.net
http://www.reebok-outlet.in.net
http://www.cheapoakleysunglassesfreeshipping.us.com
http://www.redbottoms.in.net
http://www.truereligionoutlets.in.net
http://www.reebok.us.org
http://www.nikefactory.us.org
http://www.beats-by-dre.co.uk
http://www.converseshoes.org.uk
http://www.nikeshoesinc.us
http://www.rayban-sunglasses.net.co
http://www.vanspas-cher.fr
http://www.cheapnfljerseys-fromchina.us.com
http://www.lacosteshoes.us.com
http://www.poloralphlauren-pascher.fr
http://www.marcjacobs-handbags.in.net
http://www.fitflop.me.uk
http://www.longchampbagsoutlet.us.com
http://www.swarovskicrystaljewelrys.us.com
http://www.jordans.co.nl
http://www.nikeairforce.in.net
http://www.mulberryoutlet.me.uk
http://www.adidasslides.in.net
http://www.nike.us.org
http://www.nikeblazer.in.net
http://www.fitflops.me.uk
2018.4.25chenlixiangコメント

# michael kors factory outlet 2018/05/21 11:36 jinyizhixia
http://jaguars.jerseyssales.us.com
http://www.asicsrunning-shoes.us.com
http://www.niketrainerssale.org.uk
http://www.poloralph-lauren.me.uk
http://www.airjordanuk.org.uk
http://www.canadagooseuk.org.uk
http://www.raybansunglassesr.us.com
http://newyorkgiants.jerseyssales.us.com
http://www.vibramfivefingersshoes.us.com
http://www.handbagscoach.us.com
http://www.katespadestoreoutlets.us.com
http://www.michaelkorsoutletscom.us.com
http://www.ralphlaurenpolooutlet.co.uk
http://www.canadagooseoutlets.ca
http://www.valentino-shoes.us.org
http://www.poloralphlaurensuk.org.uk
http://www.oakleysunglasseswholesales.us.org
http://www.coachoutletfactoryonlinestores.us.com
http://www.manolo-blahnik.us
http://www.goldengooses.us.com


# cc 2018/06/30 7:56 chenlixiang
http://www.guessfactorycanada.ca
http://www.nikestore.us.org
http://www.jordan4.in.net
http://www.nikeairmaxnederland.nl
http://www.nikeairmax95.us
http://www.kobe9shoes.net
http://www.nike--huarache.fr
http://www.hermes.org.uk
http://www.truereligion-jeans.co.uk
http://www.nike.us.org
http://www.fitflops.me.uk
http://www.airmax-90.co.uk
http://www.airmax97.in.net
http://www.adidasoutletstoreonline.us.com
http://www.michaelkorsoutletus.us.com
2018.6.30chenlixiang

# re: 「ボタン押下」? 2018/07/24 16:29 chenlixiang
2018.7.24chenlixianghttp://www.arcteryxjackets.us.com
http://www.chromeheartsjewelry.us.com
http://www.chloesunglassess.com
http://www.airmax2018.us.org
http://www.jimmychoo.us.com
http://www.kd10elite.us
http://www.jordans.com.de
http://www.englandworldcupsoccerjersey.com
http://www.chaussure-nike-pas-cher.fr
http://www.bcbg.in.net
http://www.germanyworldcupjersey.com
http://www.nikeair-max.net
http://www.jordan1.us.com
http://www.kristapsporzingisjerseys.us
http://www.nikestore.org.uk
http://www.jordan5.us.com
http://www.cheapbestnfljerseys.us.com
http://www.nikeair.us.com
http://www.nikeshoesinc.us
http://www.airmax-90.in.net
2018.7.24chenlixiang

# re: INI 編集ツール IniModifier を作成してみる (1) 2018/07/31 12:49 chenyingying
http://www.ralplaurenuk.org.uk
http://www.nikeairtrainers.me.uk
http://www.coach-bags.us.org
http://www.coachoutletonsale.us.com
http://www.cheapraybansunglass.co.uk
http://www.ralphlaurens.fr
http://www.manoloblahnik.us
http://www.fila.us.com
http://www.nikedunks.us
http://www.mulberryhandbags.us.com
chenyingying20180731メ

# re: Windows Event Log の ACL 設定方法 2018/08/04 16:38 Meeniwo9471
asd20180804
http://www.nikekyrie-4.us
http://www.vapormax-flyknit.us
http://www.goyard.us.org
http://www.northfaceoutletonline.com.co
http://www.balenciaga.com.co
http://www.soldier11.us.com
http://www.fakerolexwatches.us.com
http://www.yeezyboost350v2.com.co
http://www.louboutin-outlets.us
http://www.replica-rolex.us.com


# re: INI 編集ツール IniModifier を作成してみる (1) 2018/08/20 13:00 chenlixiang
2018.8.20chenlixianghttp://www.jordanclothing.us
http://www.pandorauk.co.uk
http://www.nikeairforce.in.net
http://www.basketsnike.fr
http://www.scarpe-adidas-superstar.it
http://www.jbl.us.com
http://www.polo--ralphlauren.us.com
http://www.swarovskicrystaljewelry.me.uk
http://www.jordan12.in.net
http://www.mizunorunning.us.com
http://www.christian--louboutin.org.uk
http://www.jordan5.us.com
http://www.nikeairmax95.us
http://www.chaneloutlet.in.net
http://www.mulberryoutlet.me.uk
http://www.watches.us.org
http://www.hermes.org.uk
http://www.montblancpens.net
http://www.converseshoes.org.uk
http://www.baseball-bats.us
2018.8.20chenlixiangコメント

# leilei123 2018/08/29 17:29 leilei3915
2018829 leilei3915コメント

http://www.michaelkors-outletclearances.us.com
http://www.ralphlaurenpolosale.org.uk
http://www.nfljerseyswholesaleonline.us.com
http://www.canadagooseoutletonlineshop.com.co
http://www.michaelkorshandbagsstore.us.com
http://www.michaelkorsoutletclearance.name
http://www.truereligionjeanss.us.com
http://www.coach-outletonlineclearance.us.com
http://www.true-religionoutletstore.us.com
http://www.coach-outletonline.us.org
http://www.canada-gooseoutletonline.us.com
http://www.lebron-jamesshoes.us.com
http://www.poloralphlaurenoutlet-uk.org.uk
http://www.poloralphlaureninc.us.com
http://www.coach-outletcanada.ca
http://www.christianlouboutinstoreoutlet.us.com
http://www.uggsoutletsstore.us.com
http://www.christianlouboutinoutletsales.us.com
http://www.coachoutletfactorysite.us.com
http://www.michaelkorsoutletwholesale.us.com
http://www.coachoutletsite.us.com
http://www.mulberryhandbagshobo.org.uk
http://www.coachfactoryoutletsaleonlines.us.com


Post Feedback

タイトル
名前
Url:
コメント