简体   繁体   中英

Delete Azure table from storage programatically c# but not manually

Is there a way we do not allow users to delete tables manually by connecting to azure table storage instead allow the c# code to delete it programmatically. This will restrict users accessing the shared table storage from deleting tables.

As far as I know, azure doesn't have the feature which could enable delete Azure table from storage programatically c# but not manually.

In my opinion, you could share the storage SAS token instead of the storage key.

By using the storage SAS token, we could decide which user have the permission to read ,modify or delete the table record as Nick.McDermaid says(Give the right permission token to right user).

More details about how to generate the SAS token with permission, you could refer to this example .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM