Polievam.sk - Custom automatic irrigation

Security and Data Protection

Your security is our priority. We take multiple steps to keep your data safe – from secure connections and browser rules to secure code and infrastructure protection.

In Brief

We handle security in multiple layers: we protect the connection (HTTPS), strictly configure the browser (CSP, security headers), use secure practices within Laravel, and are protected from the outside by Cloudflare.

  • Always encrypted connection via HTTPS.
  • Strict browser rules (CSP, security headers).
  • Secure code in Laravel (CSRF, XSS protection, SQL parameterization).
  • Traffic protection and loading acceleration via Cloudflare.

Secure Connection (HTTPS/HSTS)

We direct all requests to HTTPS and instruct the browser to use only secure connections in the future.

  • Automatic redirection to HTTPS: if you arrive via HTTP, we redirect you to a secure page.
  • HSTS (Strict-Transport-Security): we instruct the browser to use only HTTPS (1 year, including subdomains).
  • Upgrade insecure requests: where possible, links are automatically loaded via HTTPS.

Browser Protection

To prevent unwanted code from entering the site, we use a set of rules and headers that restrict what the page can do.

  • Referrer-Policy: we only send essential information about the origin of the visit.
  • X-Content-Type-Options: prevents the browser from "guessing" the file type, reducing the risk of attacks.
  • X-Frame-Options: our website will not display in a third-party iframe – protection against clickjacking.
  • COOP/CORP: we isolate windows and resources between domains, reducing risks during content sharing.
  • Permissions-Policy: sensitive features (camera, microphone, location…) are disabled by default.

Content Security Policy (CSP) and Nonce

CSP is a "whitelist" of allowed sources. Every script has a one-time signature (nonce), so only what we have explicitly authorized will run. This significantly reduces the risk of Cross-Site Scripting (XSS).

Directive Value (simplified)
default-src 'self'
script-src nonce-{nonce} 'strict-dynamic' https: 'self'
style-src 'self'
img-src 'self' data: blob: and approved domains
frame-src approved video platforms only
object-src 'none'
connect-src 'self' + analytical endpoints

Actual values are set dynamically (a nonce is generated for each request).

Secure Code (Laravel)

Our application runs on Laravel and we adhere to industry best practices.

CSRF Protection: forms include security tokens to prevent misuse.
XSS Protection: outputs are properly escaped, further supported by CSP.
SQL Injection: queries use bound parameters (parameterization).
Validation and Input Sanitization: we check formats and values before processing.
Sessions and Login: secured cookies with appropriate expiration times.
Rate Limiting: we limit the number of attempts on sensitive actions.

Protection via Cloudflare

We use Cloudflare – it protects us from attacks, filters malicious requests (WAF), mitigates DDoS, and speeds up loading via CDN.

Monitoring and Response

  • We monitor availability and errors in real-time.
  • We regularly update the system and libraries.
  • We back up key data and test recovery procedures.
  • We have an internal incident response procedure for quick remediation.