You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a regular user upload a file, give a token in the response header. This token is stored in th db and should be provided by regular user to remove this file.
Other idea of feature is a protected file : You need URL and the token to get the file.
Token could be generated by the server or given by the user at the upload "user password"
Idea is to provide a "admin_token" in the config file.
Request with the admin_token in the header could have more option than an other user.
For example, we could add in the config file, list of method only for admin :
admin_only_urls : ls,delete, ...
The text was updated successfully, but these errors were encountered: