Criminology- Election Fraud

What can be done to prevent election fraud? Is it discrimination to require Americans to provide ID to vote?