KTC QAQC Cookie Policy
DRAFT for review by KTC's legal adviser - not legal advice
Version 0.2 · 28 November 2026 · Effective date: [effective date]
1. Summary
KTC QAQC (the "app", at [app web address]) is run by [KTC legal entity name] (UEN [UEN]) ("KTC", "we", "us"). This policy is published at /cookies. The app uses two cookies and some storage in your browser. They:
- keep you signed in,
- remember choices you made, and
- let the site diary work without signal.
The app has no analytics, advertising, social media or other third-party cookies. Nothing here tracks you across websites or builds a profile of you.
2. Cookies
| Cookie | What it does | Type | How long it lasts |
|---|---|---|---|
ktc_session | Keeps you signed in. It holds a random token, and our server stores only a fingerprint of it. Scripts on the page cannot read it (HttpOnly). It is sent only over HTTPS (Secure), and not with requests other websites make to the app in the background (SameSite=Lax). | Strictly necessary | Until you sign out or the session ends: 7 days at most, or after 12 hours without activity. A half-finished sign-in ends after 10 minutes |
ktc-theme | Remembers whether you chose the light or dark theme, so pages open in it. Its value is only dark or light. It is set only when you change the theme. | Functional (your choice) | 1 year |
3. Storage in your browser
| Item | What it does | Type | How long it lasts |
|---|---|---|---|
Local storage ktc-qaqc:recent:<your user id> | The last 5 items you opened from search (title and link, for example a project, an inspection number or a colleague's name), so they show first next time. It is never sent to us. | Functional (your choice) | Until you clear it |
Local storage ktc-install-tip-dismissed | Remembers that you closed the tip about using the diary without signal. | Functional (your choice) | Until you clear it |
Session storage diary-upload-added-rows:<upload id> | While you check an uploaded diary document, stops rows you added being added twice if the page reloads. | Strictly necessary | Until you close the tab |
IndexedDB ktc-device | The keys for your encrypted offline diary copy. They are stored wrapped, so they cannot be used without our server. It also records when the copy was last used and how many changes are waiting to send. | Strictly necessary (offline diary) | Until removed (see section 5) |
IndexedDB ktcq-… (one per person who uses the diary on that phone) | Drafts, plus diary changes, photos and files made on the phone that are waiting to send. The contents are encrypted. | Strictly necessary (offline diary) | Each item until it is sent. The database until removed |
IndexedDB ktcq-…:diary | The encrypted offline copy: the last 14 days of diaries for projects you can write to, with the diary form, scopes, lists and photo thumbnails. | Strictly necessary (offline diary) | Refreshed when online. Until removed |
Service worker /serwist/sw.js | Opens the app and its offline pages when there is no signal. | Strictly necessary | Until site data is cleared |
Cache storage: app shell and offline pages, next-static, fonts | App code, fonts and offline pages, so the app can open without signal. Pages showing your data and the server's answers are never cached. | Strictly necessary | App shell replaced at each release. next-static keeps at most 200 files for 30 days. Fonts until replaced |
IndexedDB ktc-probe | Only if you open the _Offline check_ diagnostic page: a test date written to check that storage works. | Strictly necessary (for that check) | Until you clear it |
The app also asks your browser to keep its storage, so a phone that runs low on space does not delete unsent diary work. Your browser may ask you, or decide for itself.
4. Why there is no consent banner
Singapore law has no separate cookie consent rule. The Personal Data Protection Act 2012 (PDPA) applies only where cookies or similar storage collect personal data. Consent is not needed for cookies that collect no personal data. Nor is it needed for things you have asked for, such as signing in, security and remembering your settings, when you know what they are for. Here:
- The strictly necessary items give you the service you asked for: signing in, and a diary that works without signal.
- The functional items are set only by your own actions and hold no tracking data. The theme cookie holds only
darkorlight. The recent-search list and the tip setting never leave your device.
So instead of a banner, we give this notice at /cookies, linked from the sign-in page and inside the app. If we ever add analytics or any other non-essential tool, we will update this policy and ask for your consent first.
5. The offline diary on your phone
- The diary copy and the queue of unsent changes are encrypted (AES-GCM). Our server releases the key only to the signed-in owner of that copy. Each person who uses the same phone has their own separate copy.
- Signing out locks your copy. If changes are still waiting, the app warns you first. Unsent changes stay locked on the phone and are sent the next time you sign in on it.
- If a phone has not connected for 7 days, its copy locks until you sign in again online.
- A copy that has not been used for 60 days, with nothing waiting to send, is deleted automatically.
- If a phone is lost, a KTC administrator can revoke it. Its copy is then locked and cleared the next time it connects. To stop a person's access completely, the administrator suspends their account.
6. How to clear cookies and storage
First, send everything. Clearing site data permanently deletes any diary changes that have not been sent. Before you clear it, connect to signal, check that nothing is waiting to send, and sign out.
- Chrome (Android or computer): Settings, then Privacy and security, then Site settings (or Third-party cookies, then See all site data and permissions). Find [app web address] and delete its data.
- Safari (iPhone or iPad): Settings, then Safari (under Apps on newer versions), then Advanced, then Website Data. Find the site and delete it.
- Edge (computer): Settings, then Cookies and site permissions, then Manage and delete cookies and site data, then See all cookies and site data. Find the site and delete it.
- Installed on the home screen: removing the icon may not delete the data on every phone. Clear the site data as well.
If you block cookies, you cannot sign in, because the app needs ktc_session. If you block site storage, the diary will not work without signal.
7. Changes and contact
Each version is numbered, dated and published at /cookies. Questions: [support email]. Personal data questions: [Data Protection Officer email]. See also the Privacy Policy and Terms of Use.