To have best security and privacy you should have your own bitcoin node. You also need an electrum server when you use electrum as your wallet software.
The focus of this topic is security and privacy when comparing electrumx and EPS.
Sparrow Wallet writes that a full address index is important privacy-wise because it does not store details about any particular wallet on the server. ElectrumX doesn't store your xpub or addresses but EPS does that.
Do you have a source for this? I've never heard such a claim.
But I wonder why does that matter if we are not running a public server? The EPS should not accept incoming connections to the server and the ports should be closed for incoming transactions. So even if EPS stores your wallet addresses, why does that matter?
As long as your xpubs and addresses don't leak from your computer, everything is fine as far as I'm concerned.
I also read that Bitcoin Core uses the internal wallet if you use pruning or not full index. But I guess it's same thing as above, because no one should be able to connect to bitcoin core when it is used privately and not as a public server.
It really makes a big difference in the storage capacity required between EPS and ElectrumX and running a full node vs pruning mode. It maybe even simple enough to put EPS and pruned bitcoin core on a usb drive. Cheap and portable. Or just put it on your internal SSD because it takes so little space.
Another security doubt about EPS is it hasn't received any update for many years now. Is EPS still being maintained? Is it still secure without any updates in such a long time?
If the replies here confirm what Sparrow Wallet is saying, that EPS is not good for privacy, then I think we are supposed to put ElectrumX and Bitcoin Core on the same machine/device. Because neither of those two will store any of my wallet information so it's ok to have them both in same machine. Then Electrum wallet in a second machine/device.
I've been running EPS for a while, but every time you switch between wallets, you need to add xpub to the config.ini file, but it's much easier to setup for any layperson than setting up an electrumX or electrs server.
I have an electrs server that simply doesn't connect to any wallet anymore and I haven't touched anything, but as my storage space is full, I had to delete the electrs folder that saves the blocks.
EPS is lighter and can work with a pruned node, which makes the installation compact enough to run on a compact SSD.
You can configure both EPS and electrs to connect to external IPs such as 0.0.0.0;
It doesn't matter if you query your transactions via bitcoin core RPC, electrum servers like electrs, electrumX etc. The level of privacy is the same.