OP, you are describing a City Air Terminal. It typically only works in dense cities as it allows people to drop off their luggage in the city and get on a train to the airport. Due to traffic, the train is often faster during peak traffic times. Prime examples of this in action are HK, Singapore, Seoul, lesser extent Tokyo.
However, security is typically not handled at the CAT. Immigration/customs, perhaps.