User profiles not public, but available for owner

Permalink 2 users found helpful
Hello I've met an issue while creating my eCommerce related website.

I need to have profiles available for their owners (as in any common ecommerce platform), but i don't want them to be visible for other members. User just need to see/edit his personal informations.

While activating public profiles they are visible even when typing prfile address manualy (f.e. localhost/opale/index.php/profile/2)it's dangerous for costumer private data.

How can i deny viewing profiles for guests and other members, but still be availbe for their owners ?

grosik