How can the network prevent double spending and what would a 51% attack look like?

How does the network handle and preserve the security of accounts (since it does not facilitate a blockchain) and how would a 51% attack on the network look like - what and how could the network mitigate it if an attack is possible?