The Location-based Authentication with The Active Infrastructure