In most cases, just searching for or viewing a dating profile is not illegal. However, hacking accounts or passwords is considered a crime in many regions. Be mindful of local laws regarding digital privacy.