An application which I'm currently developing has quite complicated authorization system. That is why, we can not use role based authorization, and basically every developer is obliged to call appropriate security check method in every controller action he or she writes. As You probably know it is quite easy to forget about that, therefore I decided to write a test which would check whether all controller's action invokes this security critical function. After hours of searching for some anchor point, I ...

Tagi: C#, funkcje
Dziel się z innymi:
[EN] How to check if one function calls another function

Windows 3705 dni, 11 godzin, 33 minuty temu nocturn 160 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu