Method for protecting accesses to a communication network, executed by an access-protection device comprising at least one wireless connection device of the type consisting of an access point to said network and a data-frame routing device, said network comprising a first sub-network referred to as a "trusted zone" and a second sub-network referred to as a "quarantine zone", the routing device being configured so that a station (103, 105, 107) connected to the network by association with the wireless connection device by means of a first sub-network identifier can access third-party devices connected in the trusted zone, and so that a station (103, 105, 107) connected to the network by association with the wireless connection device by means of a second sub-network identifier cannot access third-party devices connected in the trusted zone and can access third-party devices connected in the quarantine zone, the method comprising: - sending, by the wireless connection device, information frames comprising an SSID network identifier common to the trusted zone and to the quarantine zone, - receiving, by the wireless connection device, a join request sent by a station (103, 105, 107), the request comprising the SSID network identifier common to the trusted zone and to the quarantine zone, - determining, by an access controller of the access-protection device, a parameter representing accesses made in said network by the station (103, 105. 107) sending the join request, - conditionally granting, by the access controller of the access-protection device, to the station (103, 105. 107) sending the join request, an authorisation to access the trusted zone via the wireless connection device according to said parameter, and, in the case of refusal of access to the trusted zone, granting, to said station (103, 105. 107), authorisation to access the quarantine zone, the method being characterised in that it furthermore comprises: - refusing authorisation to access the trusted zone and granting authorisation to access the quarantine zone to any station that connects the first time to the communication network, and - granting authorisation to access the trusted zone to the station and refusing authorisation to access the quarantine zone to the station when no access of said station to the communication network is identified as wrongful with regard to security rules defined during a predetermined period as from the first connection of said station to the communication network. - sending, by the wireless connection device, information frames comprising an SSID network identifier common to the trusted zone and to the quarantine zone, - receiving, by the wireless connection device, a join request sent by a station (103, 105, 107), the request comprising the SSID network identifier common to the trusted zone and to the quarantine zone, - determining, by an access controller of the access-protection device, a parameter representing accesses made in said network by the station (103, 105. 107) sending the join request, - conditionally granting, by the access controller of the access-protection device, to the station (103, 105. 107) sending the join request, an authorisation to access the trusted zone via the wireless connection device according to said parameter, and, in the case of refusal of access to the trusted zone, granting, to said station (103, 105. 107), authorisation to access the quarantine zone, - conditionally granting, by the access controller of the access-protection device, to the station (103, 105. 107) sending the join request, an authorisation to access the trusted zone via the wireless connection device according to said parameter, and, in the case of refusal of access to the trusted zone, granting, to said station (103, 105. 107), authorisation to access the quarantine zone, - refusing authorisation to access the trusted zone and granting authorisation to access the quarantine zone to any station that connects the first time to the communication network, and - granting authorisation to access the trusted zone to the station and refusing authorisation to access the quarantine zone to the station when no access of said station to the communication network is identified as wrongful with regard to security rules defined during a predetermined period as from the first connection of said station to the communication network.