disallow post calls to the dam for unauthenticated users
Hi , i want to see if there are any defaults to disallow post calls to the dam for unauthenticated users or even a way to override the generic error message like "org.apache.sling.api.PersistenceException error message:Resource at content/dam/example .json is not modifiable" , where the sensitive information like path is disclosed and i want to override that with much more custom generic error message. any suggestion on how i could do that?