An appellate court will not interfere with a magistrate's decision to refuse bail unless satisfied that the magistrate misdirected himself by acting on wrong principles, allowing extraneous or irrelevant considerations to affect the decision, making mistakes of fact, or failing to consider relevant matters. Even where the appellate court may have a different view, it should not substitute its own view for that of the magistrate as this would constitute unfair interference with the proper exercise of judicial discretion. A finding that an accused is a flight risk based on the strength of the state's case and the potential for a lengthy prison term, combined with concerns about evidence tampering in cases involving online evidence, can properly support a refusal of bail.