I have an application that looks at the system time and records the datetime. We give out demos and license by time.
One customer claims to have blocked my application from seeing the time so it always runs. He wouldn't say how but just said he would "not let it look at the time." Before I dig into this has anyone heard of this or know how to do it? He's not really a hacker but is tech savy enough to find things other people have done.
At the min, any user can book a holiday for ay employee,
I have added [Authorization] to the controllers, and @if (User.Identity.IsAuthenticated)
in the layout so only logged in users can view the pages. But how can I go about only allowing users to book a holiday for them selves
something like if loggedInUserID(is this assigned automatically when a user is created?) =currentPersoID, although this is only a guess and I would prob have to assign the same loggedInUserID to personID.