Does rpcallowip=127.0.0.1 secure Bitcoin Core RPC by itself?
Short answer
No. It restricts allowed source addresses but does not replace RPC authentication, network isolation or firewall controls.
Operational detail
Never publish a sensitive RPC endpoint to the Internet without a deliberate security design.
Full procedure
Securing Bitcoin Core RPC on Localhost and Docker Networks
https://thamer.org/docs/bitcoin-engine-ops-rpc-network-isolation
