I was thinking of using a Guid
as a parameter for an action method to hide its actual content.
The idea behind it is to only give users who know the Guid access to some Views or files behind.
public ActionResult Index(Guid id)
{
if(id.equals(...))
return File(document.Data, document.ContentType);
else if (id.equals(...))
return File(document.Data, document.ContentType);
...
}
Does it make sense, because I don't want google or some attacker scanning the site (deep scanning) and finding that information?