The account in Job makes clear that Satan can only do what God permits.
"Then the Lord said to Satan, 'Behold, all that he has is in your power, only do
not put forth your hand on him.' So Satan departed from the presence of the Lord." (Job 1:12)
By the authority of Jesus Christ, Christians can also resist Satan and his demons.
"Submit therefore to God. Resist the devil and he will flee from you." (James 4:7)