Under Article 24, it will be an offence to disseminate images of national police officers or gendarmes if there is intention or provocation to identify them.
Any shared videos with malicious intent to identify the spouse, partner, or child of a police or customs officer will also be punished.
Those found guilty could face a sentence of up to five years in prison and a €75,000 fine.
This has been increased from the original legislation, which carried a sentence of one year and a €45,000 fine.
The law states that an offending person must have the obvious aim of damaging the physical or psychological integrity of the police officer in question.