0

For an ASP.NET MVC COSTS application, I need to intercept all action calls. I only have access to modify the global.asax and Web.config files since it's already compiled and I have no access to the source code. Am I out of luck on injecting a global action filter to it?

5
  • 2
    Pretty sure you can't really do anything other than decompile and do some funky stuff that way. Commented Nov 30, 2017 at 16:51
  • You would probably be able to add an HTTP Module, but it depends on what you're trying to achieve as to how useful that would be. Commented Nov 30, 2017 at 16:54
  • The COTS application has no authentication but I need to add a custom authentication to it, not integrated windows authentication. Commented Nov 30, 2017 at 16:57
  • If you want auth, try this stackoverflow.com/questions/26960019/http-module-authentication Commented Nov 30, 2017 at 17:13
  • Like you said, i may have to roll my auth http module. I don't see any other ways to get around this. Commented Nov 30, 2017 at 18:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.