Allow users to see own content only I have two content types, provider and products.

The providers is a list of titles filtered by logged in user (each user can only see the providers he enterd). By clicking the provider the user is taken to a page that contains a table with all the provider products. 

the provider and the products content type are linked via a unite content field using contextual filter (the mutual field called lpid). 

In the products page the path is provider/%/products while the wildcard represents the lpid field. 

Everything works great, what I am trying to do is to prevent from users to see other users content.

Is there a way to pass the wildcard via $_POST so the user will not be able manualy change the url? 

TNX
"Allow users to see own content only", You can achieve this using contextual filter and relationships in advance settings in views module, Given by you already set the contextual filter set filter to login user, 

1.) In Advanced settings add field Content:author in relationships. 

2.) Then in Contextual Filters add User: Uid and choose provide default value and set Provide default value Type User ID from logged in user.