How to allow Task of the Project from Customer Portal

I have requirement to give read access for Tasks of project to the website user.
How can this be achieved?

You can give the permission of the tasks and project but you can’t set the particular tasks of the project. it possible on the desk side using the user permission.

Thank you for quick response.

I tried creating new role to allow only task and created user. But it has access to some of the doctypes like LMS, Job openings. Any other way to restrict this?

And also in this approach is there any security and privacy issue?

Remove another doctype permission from the role that you assign the role to user.

Only for task have given permission. But other doctypes which are having permissions for desk user, All, Guest its visible. Is there any way to restrict it?