Social

Cum construiești un sistem „For You” când ai foarte puține date despre utilizator

Faci un proiect de aplicatie web care are un feed central de stiri, clipuri sau articole. Vrei neaparat sectiunea aia de “For You”, inspirata de TikTok. Dar te lovesti de o matematica brutala: nu ai un milion de utilizatori ca sa aplici algoritmi smecheri de tip Collaborative Filtering (adica sa ii recomanzi omului ce citesc alti oameni ca el). Utilizatorul tau abia si-a facut cont de 3 minute. Nu a dat niciun like, nu ai istoric, nu stii nimic despre el. Ce ii pui pe ecran?

[mai mult...]

Activarea funcției de recuperare/Recall al mesajelor între chiriași/tenant în Exchange Online

Funcția de retragere a mesajelor între tenants/chiriasi permite utilizatorilor să retragă e-mailurile trimise către o altă organizație Microsoft 365. Organizația destinatară trebuie să activeze această funcție și să adauge ID-ul chiriașului expeditorului pe lista sa de permisiuni. Funcția este dezactivată în mod implicit.

Exemplu: Clientul A trimite un e-mail către clientul B. Configurați clientul B astfel încât să permită retragerile de la clientul A. Pentru retragerile în ambele sensuri, configurați separat permisiunea inversă.

Cerințe preliminare

  1. Acces administrativ la tenantul destinatar.
  2. Un cont cu permisiunile RBAC pentru Exchange necesare pentru a rula comenzile de configurare.
  3. Modulul PowerShell pentru Exchange Online.
[mai mult...]

High availability vs. Disaster Recovery: designing enterprise infrastructure for real-world failures

High availability and disaster recovery are frequently discussed together, but they address different infrastructure challenges.

High availability focuses on maintaining service continuity despite the failure of individual components.Disaster recovery focuses on restoring services after disruptive events that exceed the protection provided by normal availability mechanisms.Confusing these objectives can lead to expensive infrastructure designs that still fail during major incidents.

High Availability Architecture

High availability typically relies on redundancy, health monitoring, automated failover, and mechanisms that reduce single points of failure.

Examples include clustered application servers, redundant network devices, load-balanced services, and database availability groups.However, redundant components do not automatically create a resilient system.Two servers connected to the same storage device may remain vulnerable to a shared storage failure.

Similarly, redundant applications depending on one authentication or network service may still experience a common outage.

Understanding Failure Domains

A failure domain represents a collection of components that can be affected by a shared event.Common failure domains include physical hosts, storage systems, network switches, power supplies, data centers, and cloud regions. Infrastructure architects should identify where redundancy actually exists and where dependencies remain shared.Availability design should be based on realistic failure scenarios rather than the number of deployed components.

Disaster recovery architectures may use backup restoration, storage replication, database replication, or standby environments.Synchronous replication can reduce data loss under suitable latency and connectivity conditions, but it may introduce performance and geographic constraints.

Asynchronous replication allows greater flexibility but generally introduces a potential gap between the latest committed production data and the replicated state.Replication must not be confused with backup.Accidental deletions, corrupt data, or malicious changes may also propagate to replicated environments.

Defining RPO and RTO

Recovery Point Objective establishes the maximum acceptable amount of data loss.Recovery Time Objective establishes how quickly business services must be restored.For example, a transaction-processing platform may require tighter recovery objectives than an internal reporting application.These requirements should be defined with business stakeholders and translated into technical architecture.

Failover and Failback Engineering

Failover transfers services to an alternative infrastructure environment.Failback returns operations to the original or newly restored primary environment.Both operations require documented procedures.DNS changes, application configurations, authentication dependencies, database consistency, and network routing must be considered.

Failback can be particularly challenging if production data has changed significantly while services operated in the recovery environment.

Testing Recovery Capability

A disaster recovery plan that has never been tested provides limited assurance.Exercises should verify the complete recovery sequence, including infrastructure startup, application dependencies, data consistency, and user access.

Testing results should be measured against defined recovery objectives.

[mai mult...]

Advanced DNS troubleshooting in enterprise Networks: resolution Paths, caching, and Split-Horizon architecture

DNS is one of the most fundamental dependencies in enterprise infrastructure.

Authentication, application connectivity, service discovery, email delivery, and hybrid cloud integration frequently depend on reliable name resolution.DNS failures can produce symptoms that closely resemble routing problems, application outages, or authentication failures.Consequently, effective troubleshooting requires understanding the complete resolution path rather than simply checking whether a hostname resolves on one workstation.

When a client requests a DNS record, the response may originate from a local cache, recursive resolver, or authoritative DNS server.Caching improves efficiency but can complicate incident investigation.

An outdated cached record may continue directing clients toward an unavailable endpoint until its time-to-live expires or the cached entry is invalidated.Engineers should distinguish between authoritative data, resolver behavior, and client-side caching.

Split-Horizon DNS

Split-horizon DNS allows different DNS responses to be provided according to the resolution environment or policy.

For example, an internal enterprise application may resolve to a private address for corporate clients while external users receive a public endpoint.This architecture can improve network control but introduces operational complexity. Incorrectly configured internal zones may prevent clients from resolving records that are valid in public DNS.

Active Directory DNS Dependencies

Active Directory environments rely heavily on DNS records for locating domain controllers and associated directory services.Service records enable clients to discover suitable authentication and directory endpoints.

Incorrect DNS client configurations, unavailable domain controller records, or replication inconsistencies may result in authentication problems.Administrators should validate both name resolution and the availability of the services referenced by DNS.

Conditional forwarders can direct queries for selected namespaces to designated DNS servers.They are particularly useful in environments integrating multiple internal namespaces or cloud-hosted private services.However, forwarder loops, unreachable resolvers, and inconsistent zone ownership can create difficult-to-diagnose failures.

DNS architecture should include documented ownership, redundancy, and resolution paths.

Effective DNS investigations should establish:

  • Which resolver the affected client uses.
  • Whether the requested record exists authoritatively.
  • Whether cached data differs from authoritative results.
  • Whether the expected namespace is resolved through forwarding.
  • Whether the returned addresses are reachable.
  • Whether the application requires additional service records.

Packet captures and DNS server logs may be necessary when ordinary lookup tools fail to explain inconsistent behavior.

[mai mult...]

Enterprise incident response: engineering an effective detection, containment, and recovery workflow

Modern cybersecurity incidents rarely affect a single system in isolation.

A compromised endpoint may expose privileged credentials, enable unauthorized access to internal services, or provide attackers with opportunities to move throughout an organization’s infrastructure. An effective incident response process must therefore combine technical investigation, operational coordination, evidence preservation, and controlled recovery.

The objective is not simply to restore interrupted services but to eliminate the conditions that allowed the incident to occur.

Detection and Initial Triage

Incident response begins with identifying potentially malicious activity and evaluating its credibility.Security teams commonly correlate telemetry from endpoint detection platforms, network monitoring systems, identity providers, application logs, and centralized security information and event management platforms.

Examples of potentially significant indicators include unusual privileged logons, unexpected service creation, unauthorized configuration changes, and anomalous outbound connections.Individual indicators should be interpreted within their operational context to reduce false positives.

Evidence Preservation

Before making disruptive changes, responders should consider which evidence may be lost.Volatile memory, active network connections, running processes, security events, and authentication records may help reconstruct an attack.

Evidence collection procedures should preserve integrity and document the origin, collection time, and handling of relevant artifacts.Where appropriate, forensic images and immutable evidence storage support further investigation.

Containment decisions involve tradeoffs between business continuity and security.An infected endpoint may need to be isolated from the network, while compromised credentials may require immediate revocation. In some incidents, indiscriminate shutdowns can destroy evidence or interrupt critical operational processes. Containment procedures should therefore be adapted to incident severity and affected systems.

Root Cause Analysis

A reliable investigation should establish the initial entry point, affected identities, unauthorized activity, persistence mechanisms, and potential data exposure.Recovery should not begin from the assumption that reinstalling a compromised endpoint resolves every associated security risk.

Identity systems, administrative access paths, and connected infrastructure may also require investigation.

Recovery and Validation

Restoration should use trusted software, validated configuration baselines, and recovery points assessed for integrity. Recovered systems should undergo heightened monitoring.Credentials and authentication mechanisms associated with the incident may need to be reset, revoked, or reissued.

Post-incident analysis should identify improvements to detection rules, network segmentation, access controls, patch management, and incident documentation.

[mai mult...]

Immutable Backups and Ransomware Resilience: designing enterprise recovery architecture

Modern ransomware incidents frequently target backup infrastructure alongside production systems. Attackers may attempt to disable backup services, delete recovery points, compromise administrative credentials, or encrypt accessible backup repositories.

Organizations relying exclusively on conventional backup schedules may discover that their recovery infrastructure shares the same security weaknesses as their production environment. A resilient backup architecture must address both data preservation and the ability to restore business services after a security incident.

Immutable backups protect recovery points against modification or deletion during a defined retention period, subject to the guarantees of the underlying storage technology and configuration.Object storage with retention controls, hardened repositories, and write-once storage technologies can provide different forms of immutability.

However, immutability does not automatically protect against every threat.An attacker who compromises backup administration or storage configuration before recovery points are secured may still interfere with the protection process.

Applying the 3-2-1-1-0 Principle

A commonly used resilience model extends the traditional backup strategy:

  • Maintain at least three copies of important data
  • Use two different storage media or storage approaches
  • Keep one copy off-site
  • Maintain one offline, air-gapped, or immutable copy
  • Aim for zero unverified backup errors through validation and recovery testing.

This model provides architectural guidance, but implementation must reflect workload criticality and recovery requirements.

Protecting Backup Administration

Backup systems should have separate administrative boundaries wherever practical.Organizations should restrict access to backup management consoles, protect privileged identities, and avoid unnecessary credential sharing with production environments.

Multi-factor authentication, dedicated management infrastructure, and monitored administrative actions reduce opportunities for unauthorized modification.

Recovery Objectives

Two fundamental metrics shape recovery architecture.

Recovery Point Objective (RPO) defines the maximum tolerable amount of data loss measured in time.

Recovery Time Objective (RTO) defines the target duration for restoring a service after an interruption.

These objectives should be established according to business impact and verified through recovery exercises.

Why Restore Testing Matters

  • A successful backup job does not prove that the protected application can be restored.
  • Recovery testing should validate database consistency, application dependencies, authentication services, network configuration, and actual service availability.
  • Organizations should also maintain procedures for restoring systems in an isolated environment when the production network cannot be trusted.
[mai mult...]