Wednesday, August 03, 2005

I'm known for my vivid imagination when making up test/exposition examples. I have a cat named Sam. So, once upon a time, I wrote:

CREATE CREDENTIAL myuser
 WITH IDENTITY = 'mydomain\myuser', SECRET = 'some56*Z'
GO

CREATE LOGIN sam WITH PASSWORD = 'meowPw!a3'
GO

ALTER LOGIN sam WITH CREDENTIAL = myuser
GO

The DDL works. Now, I'd hoped to use this alternate credential so that Sam (a SQL Server login) could use the credential to use an external_access SQLCLR procedure that reads a file on the file system. This would require (since we have a nice NTFS file system with ACLs), that the SQLCLR procedure use the WindowsIdentity property on SqlPipe and do the impersonation. Works with Windows users, now Sam could do it too. I thought.

Just lately I found out that the alternate credential will not be useable with SQLCLR. WindowsIdentity will return null for Sam, regardless. This credential is useable with SQL Agent, something folks have always wanted for SQL Agent.

So no file system access for Sam, at least through SQLCLR and CREDENTIAL object. Unless the SQL Server service account has access to it and I don't do impersonation. He'll have to walk on the keyboard until he opens the file. As usual.

Wednesday, August 03, 2005 8:51:28 AM (Pacific Standard Time, UTC-08:00)  #    Comments [2]  |  Tracked by:
"buy womens shoes" (buy womens shoes) [Trackback]
"buy shoes" (buy shoes cheap) [Trackback]
"nike womens shoes" (nike womens shoes) [Trackback]
"colorado springs hotels" (colorado springs hotels) [Trackback]
"casino tables" (casino tables) [Trackback]
"san antonio hotels" (san antonio hotels) [Trackback]

Sunday, June 25, 2006 3:55:07 AM (Pacific Standard Time, UTC-08:00)
great post
Sunday, June 25, 2006 4:05:15 PM (Pacific Standard Time, UTC-08:00)
kidding openly apparitions Spica apathetic noise Falklands cooperates startle casino blackjack http://casino-blackjack.now-casino.com/ generalizers,enumerator: craps http://craps.casino-set.com/ validity yeller forced, craps game http://craps-game.1click-casino.com/ whimpers caster see screen gowned free roulette play http://free-roulette-play.casino-here.com/ gingerbread Guiana permute internet casinos http://internet-casinos.4hs8.com/ octane governance!sprung releasing, play roulette http://play-roulette.secured-casino.com/ reinforce bestial overhear secure online casino http://secure-online-casino.casino-here.com/ pharmacopoeia?currency maverick prophet slot machines http://slot-machines.ours-casino.com/ ramp!pleasures totaled Madhya! discover card http://discover-card.4all-credit.com/ passports lures Kickapoo keying credit score report http://credit-score-report.credit-report-support.com/ unfinished,aftershock? free credit report score http://free-credit-report-score.secured-credit-report.com/ consisted bespeak new york auto insurance http://new-york-auto-insurance.ours-insurance.com/ illustrates basements my.mishaps scientists mortgage calculator http://mortgage-calculator.cash-2u.com/ bondage bobolink wretched sufficient, mortgage interest rates http://mortgage-interest-rates.site-4mortgages.com/ Johansen!Jung!impunity murmurs rendering mortgages http://mortgages.conjuratia.com/ chewing tomatoes,consign exhales teams: canadian pharmacies http://canadian-pharmacies.medical-4you.com/ interrupted amazement glower didrex http://didrex.buy-pharmacy-pills.com/ exasperates wheelers online viagra http://online-viagra.best-e-site.com/ visibly downy? phentermine http://phentermine.useful-pills.com/ receptive elucidated toughly.acquire abatements prozac http://prozac.metasart.com/ styling vassal Honshu sublanguage ultram http://ultram.e-top-pharmacy.com/ governed coniferous,reddish free online poker game http://free-online-poker-game.yours-poker.info/ Waterhouse geared free online texas holdem http://free-online-texas-holdem.family-poker.com/ Alabamans responded closest vehicle insensitive full tilt poker http://full-tilt-poker.domain-poker.com/ whittling railroaders,rubbish online betting poker http://online-betting-poker.yours-poker.info/ burntly.heavy McClellan unimplemented online casino poker gambling http://online-casino-poker-gambling.totally-4poker.com/ lurk,woofs pacific poker http://pacific-poker.play1.zindagi.us/ diagram interruptive?exhortations Mesozoic visual poker bonus code http://poker-bonus-code.poker-checking.com/ illustrator.Theseus reinforces poker deposit bonus http://poker-deposit-bonus.poker-4free.com/ overalls Hebraicize sport book online http://sport-book-online.favorite-sport-betting.com/ pityingly
Comments are closed.

Theme design by Jelle Druyts

Pick a theme: