File Upload and File Access Logs
Tracking File Uploads and Access in Tadabase
Tadabase logs every file uploaded and accessed within your application, ensuring that you can track both file uploads and secure file downloads. This guide will walk you through accessing these logs and understanding the details that are tracked.
Accessing File Logs
To view file logs, follow these steps:
- Go to Settings.
- Select Logs.
- Click on File Logs.
The file logs provide visibility into every uploaded file and each time a secure file is downloaded.
File Upload Log Information
Each file upload is logged with the following details:
Basic Information:
- File Name: The name of the uploaded file.
- Type: The file type (e.g., PDF, JPEG, etc.).
- Upload At: The date and time the file was uploaded.
- Uploaded By: The user who uploaded the file.
- Table: The table where the file was uploaded.
- Field: The field within the table where the file is stored.
- Record ID: The unique ID of the associated record.
- Size: The file size.
- Secure: Whether the file is marked as secure.
- Status: Indicates whether the upload was successful.
Special Cases:
There may be instances where the Record ID is missing. For example, if a file is uploaded through a form that is not submitted, the upload will still be logged, but it won’t be associated with a record.
Secure File Download Log Information
For files marked as Secure, additional logging occurs when a file is downloaded. The following details are tracked:
- File Name: The name of the downloaded file.
- Source: The source of the download (e.g., a specific page or component).
- Download At: The date and time the file was downloaded.
- Accessed By: The user who accessed the file (if logged in).
- Table: The table where the file is stored.
- Field: The field associated with the file.
- Record ID: The unique ID of the associated record.
- IP: The IP address from which the file was accessed.
Each time a secure file signature is generated for viewing, it is logged, ensuring that all access points are tracked.
Displaying Logs on the App Side
Similar to other logs, you can display file upload and access logs directly within your app. This allows you to filter logs based on criteria such as specific fields, records, or tables. For more details, refer to the "Add Logs to App" article for instructions on how to implement this in your app.
We'd love to hear your feedback.