Here are some things that Act permits the President to do. Dictator on day 1.
The president has
inherent authority to repel these kinds of sudden attacks — an authority that necessarily implies the discretion to decide when an invasion or predatory incursion is underway.
This detention and deportation power poses an alarming risk of abuse and rights violations in both wartime and peacetime.
www.brennancenter.org
Here is section 2:
SEC. 2. And be it farther enacted, That if any person shall write, print, utter or publish, or shall cause or procure to be written, printed, uttered or published, or shall knowingly and willingly assist or aid in writing, printing, uttering or publishing any false, scandalous and malicious writing or writings against the government of the United States, or either house of the Congress of the United States, or the President of the United States, with intent to defame the said government, or either house of the said Congress, or the said President, or to bring them, or either of them, into contempt or disrepute; or to excite against them, or either or any of them, the hatred of the good people of the United States, or to stir up sedition within the United States, or to excite any unlawful combinations therein, for opposing or resisting any law of the United States, or any act of the President of the United States, done in pursuance of any such law, or of the powers in him vested by the constitution of the United States, or to resist, oppose, or defeat any such law or act, or to aid, encourage or abet any hostile designs of any foreign nation against United States, their people or government, then such person, being thereof convicted before any court of the United States having jurisdiction thereof, shall be punished by a fine not exceeding two thousand dollars, and by imprisonment not exceeding two years.
Here is the complete text of the Act:
National Constitution Center Historic Documents Library record for The Alien and Sedition Acts (1798)
constitutioncenter.org