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?
-
2Pretty sure you can't really do anything other than decompile and do some funky stuff that way.DavidG– DavidG2017-11-30 16:51:16 +00:00Commented 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.DavidG– DavidG2017-11-30 16:54:50 +00:00Commented 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.Ray Cheng– Ray Cheng2017-11-30 16:57:29 +00:00Commented Nov 30, 2017 at 16:57
-
If you want auth, try this stackoverflow.com/questions/26960019/http-module-authenticationDavidG– DavidG2017-11-30 17:13:42 +00:00Commented 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.Ray Cheng– Ray Cheng2017-11-30 18:01:00 +00:00Commented Nov 30, 2017 at 18:01
Add a comment
|