@Daniel Rodriguez - Thanks for the question and using MS Q&A platform.
Microsoft Purview is a data governance service that provides a unified and integrated experience to discover, understand, and manage your data. However, it does not have a built-in function to automatically expire public files after a set period without the need for user authentication.
Instead, you can use Azure Blob Storage to store your public files and configure a lifecycle policy to automatically delete files after a set period. Azure Blob Storage is a scalable and cost-effective object storage service that allows you to store and access large amounts of unstructured data, such as text or binary data.
To configure a lifecycle policy in Azure Blob Storage, you can use the Azure portal, Azure PowerShell, or Azure CLI. The lifecycle policy allows you to define rules for automatically deleting or moving blobs based on their age or other properties. For example, you can define a rule to delete blobs that are older than 30 days.
You can also use Azure Information Protection to apply sensitivity labels to your files and control access to them based on the label. Sensitivity labels can be used to classify and protect your data based on its sensitivity level, and they can be applied to files stored in Azure Blob Storage, SharePoint Online, and OneDrive for Business.
I hope this helps! Let me know if you have any further questions.