Tuesday, July 19, 2016

When MVC met Asp.net WebForms

I recently came across a scenario at work where I was getting a looping or cycling of authorization on a website.

Turns out this web.config setting was denying all the access while...

<authorization>
      <deny users="?"/>
    </authorization>

these sections

<location path="path1">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="path2">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="path3">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>

 were giving permissions to the pertinent paths.

I found this out after soliciting some help from a coworker who'd been working on migrated Asp.net applications to MVC.

Friday, July 15, 2016

OAuth flows quick picture reference

I've been studying OAuth flows and found these images useful as references. They are not mine but I don't know the reference from where they came from.