How to enable permissions in SQL Server 2012 FileTable folder share?

后端 未结 4 1482
谎友^
谎友^ 2021-01-12 09:23

After successfully creating a FileTable, I tried viewing the fileshare but my permissions are denied. In Management Studio, right-clicking on FileTable then \"Explore FilteT

4条回答
  •  灰色年华
    2021-01-12 10:03

    Other posters have dealt with the FILESTREAM set up.

    To browse and access files within a filetable, VIEW DEFINTION and SELECT permissions will be required as a minimum. The ALTER permission referenced in dmc2005's post is not required.

    Example (granting access to a Windows user or group):

    GRANT VIEW DEFINITION,SELECT ON FileTableName TO [MYDOMAIN\MYGROUPNAME]
    

    Assigning the User / Group to one of the fixed database roles (for example db_datareader) will not grant the required permissions for filestream access. The permissions must be explicitly granted.

提交回复
热议问题