Yes, it is if it’s configured correctly. The only thing to be mindful of is logging out of public machines and keeping a strong password. You could also argue that remote access is actually safer because it keeps your files off servers you don’t control.