Public link for custom doctype

I’ve created a custom doctype (Case) which has ID, Pass, file attachment and description fields. I want to show case description publicly by using a link something like “test.com/case-info/ID=1&Pass=2”. If ID and Pass ok user can view details. (I don’t want user enter any credentials and I don’t want to create an user)
How can I achieve this? Which section should I research?
So far I’ve tried “Web Form” but I think it is useful for creating record for doctypes.
Thanks.