• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Intriguing OleDB problem"

Collapse

  • doodab
    replied
    Originally posted by suityou01 View Post
    This is a prototype. It serves the purpose of demonstrating that it can be done, and can be done in a slap dash manner that despite the best of intentions will end up in production because once you've built the prototype they won't be interested in paying for you to build it again.
    FTFY

    Leave a comment:


  • d000hg
    replied
    Originally posted by TheFaQQer View Post
    ignoreList

    Oh, the irony

    (And since user_name is case sensitive, the query would return no rows anyway)
    I was so hoping it would have a bug

    Leave a comment:


  • suityou01
    replied
    Originally posted by eek View Post
    Suity,

    You're not on my ignore list as I don't actually mind helping you out. I just hoped you might take the hint when I said do x, do x, do x while you rabbited on about other options.

    The main reason why I didn't say don't do Y its a bad idea is because you always want an explanation from elsewhere why and I couldn't provide that from the location I was sat in.
    Apology accepted.

    Leave a comment:


  • suityou01
    replied
    Originally posted by NickFitz View Post
    Oh don't you furkin start

    Leave a comment:


  • NickFitz
    replied
    Originally posted by suityou01 View Post
    When we get the go ahead to develop this the security issue will be dealt with properly. For now, I just needed a fix to get the prototype working.

    Leave a comment:


  • eek
    replied
    Suity,

    You're not on my ignore list as I don't actually mind helping you out. I just hoped you might take the hint when I said do x, do x, do x while you rabbited on about other options.

    The main reason why I didn't say don't do Y its a bad idea is because you always want an explanation from elsewhere why and I couldn't provide that from the location I was sat in.

    Leave a comment:


  • suityou01
    replied
    Originally posted by doodab View Post
    That's the point he's trying to make. Good security practice is to give the app the least privileges required to do what it needs to do i.e. give it permission to the oracle home directory. By choosing to impersonate another user you have, as a side effect, given it access to everything that user can access which probably includes lots and lots of other things that it doesn't need and probably shouldn't have access to. If the web app were to be exploited and an attacker able to run arbitrary code the range of things they could do is now significantly wider.
    Yep, know all of this. Accept all of this. Have clearance from above to do this.
    This is a prototype. It serves the purpose of demonstrating that it can be done, and can be done relatively cheaply.

    When we get the go ahead to develop this the security issue will be dealt with properly. For now, I just needed a fix to get the prototype working. To get the security permissions changed would require red tape, and this carries a time penalty the luxury of which we currently can ill afford.

    The impersonated user has access within the sandbox, and that's about it so the risk is minimal.

    I accept eeks comments as entirely valid, and have indicated this many times. The thing I don't accept is his tendancy to have a hissy fit at the slightest hint of a challenge to his suggestions.

    Leave a comment:


  • TheFaQQer
    replied
    Originally posted by d000hg View Post
    Like writing your passive-aggressive signature? Did you have to consult SQL for Dummies?
    SELECT User_Id IgnoresList FROM CUK_USERS WHERE USER_NAME = 'EEK' OR USER_CAN_SPELL = FALSE;
    ignoreList

    Oh, the irony

    (And since user_name is case sensitive, the query would return no rows anyway)

    Leave a comment:


  • d000hg
    replied
    Originally posted by suityou01 View Post
    Really don't as I am a grown up with better things to do.
    Like writing your passive-aggressive signature? Did you have to consult SQL for Dummies?

    Leave a comment:


  • doodab
    replied
    Originally posted by eek
    There is a reason why the IUSR user has very minimal access rights
    Originally posted by suityou01 View Post
    It is not running in the context of IUSER, rather the context of the application pool. .Net has supported impersonation for years.
    That's the point he's trying to make. Good security practice is to give the app the least privileges required to do what it needs to do i.e. give it permission to the oracle home directory. By choosing to impersonate another user you have, as a side effect, given it access to everything that user can access which probably includes lots and lots of other things that it doesn't need and probably shouldn't have access to. If the web app were to be exploited and an attacker able to run arbitrary code the range of things they could do is now significantly wider.

    Leave a comment:


  • suityou01
    replied
    Originally posted by eek View Post
    I had deleted that.

    If you want to attack me do it in general. If you are brave enough.
    Really don't as I am a grown up with better things to do.

    HTH

    Leave a comment:


  • eek
    replied
    I had deleted that.

    If you want to attack me do it in general. If you are brave enough.

    Leave a comment:


  • suityou01
    replied
    Originally posted by eek
    Examples please as I don't believe I'm the prime culprit for taking your crap from technical and posting it in general.

    i'll admit to other examples but that was firstly to give you a laugh, to ensure that MF and others replied and because that was the most appropriate place for it to be. From memory the advice you got in general was better than the advice in Business and Contracts anyway.

    As for ranting I'm trying to work out how many others have agreed with you so far.
    I love it when you back pedal

    Leave a comment:


  • d000hg
    replied
    Originally posted by suityou01 View Post
    Oh, and for the record, he has a history of splurging my requests for help in technical all over General. Newcomers to the forum may see this and decide to refrain from posting in technical on the strength of this. Just saying like
    Personally I think his attempt to post proper answers here and then mock you about it in General is better than complaining the answers aren't good enough

    Leave a comment:


  • suityou01
    replied
    Originally posted by d000hg View Post
    It was a serious question. CUK is the last place I'd ask a programming question simply due to the very small number of people here... on SO you get answers from the people who designed the technologies in the first place sometimes!

    And could you keep the spats for General... there's special thread for it and everything!
    Sound advice.

    I did not want a spat. I think Eek has rather let himself down with his childish rants. If he had simply said

    "Fair enough, if it works it works, however be aware that you have potentially caused the following issues ....."

    This would have been a level headed and mature response, worthy of a time seasoned contractor. Instead, well, the least said the better.

    Oh, and for the record, he has a history of splurging my requests for help in technical all over General. Newcomers to the forum may see this and decide to refrain from posting in technical on the strength of this. Just saying like

    Leave a comment:

Working...
X