You work as a database administrator at your company. Users report that they receive an error message when they execute a CLR user defined function named Production.ufnGetProductionInfo in the Adventureworks database. The error is occurring because the function is being denied access to the local file system. You must ensure that the least permission possible to solve the problem are applied.
You need to allow the function to access the local file systems by using SQL Server Management Studio (SSMS).
You must apply the minimum number of possible changes.