Code Velocity
এআই নিরাপত্তা

এআই এজেন্ট ডোমেন নিয়ন্ত্রণ: AWS নেটওয়ার্ক ফায়ারওয়াল দিয়ে ওয়েব অ্যাক্সেস সুরক্ষিত করা

·7 মিনিট পড়া·AWS·মূল উৎস
শেয়ার
একটি ডায়াগ্রাম যেখানে AWS নেটওয়ার্ক ফায়ারওয়াল একটি Amazon VPC পরিবেশে ডোমেন ফিল্টারিংয়ের মাধ্যমে AI এজেন্টের ওয়েব অ্যাক্সেস নিয়ন্ত্রণ করছে।

ধাপ 3: AWS নেটওয়ার্ক ফায়ারওয়াল অ্যালোলিস্ট কনফিগার করা

আপনার ডোমেন নিয়ন্ত্রণ কৌশলের মূল ভিত্তি হল AWS নেটওয়ার্ক ফায়ারওয়ালের মধ্যে একটি স্টেটফুল রুল গ্রুপ কনফিগার করা। এই রুল গ্রুপটি আপনার অ্যালোলিস্টকে সংজ্ঞায়িত করে – আপনার এআই এজেন্টদের অ্যাক্সেস করার অনুমতিপ্রাপ্ত নির্দিষ্ট ডোমেনগুলি। ব্যাপক কভারেজ নিশ্চিত করতে সাবডোমেনগুলির সাথে মেলাতে আপনার ডোমেন এন্ট্রিগুলিতে একটি অগ্রণী ডট (.) অন্তর্ভুক্ত করা অপরিহার্য।

উদাহরণস্বরূপ, উইকিপিডিয়া এবং স্ট্যাক ওভারফ্লোতে অ্যাক্সেসের অনুমতি দেওয়ার জন্য, আপনার নিয়ম কনফিগারেশনটি দেখতে এমন হবে:

{
  "RulesSource": {
    "RulesSourceList": {
      "Targets": [
        ".wikipedia.org",
        ".stackoverflow.com"
      ],
      "TargetType": "TLS_SNI",
      "GeneratedRulesType": "ALLOWLIST"
    }
  }
}

এই কনফিগারেশনটি নিশ্চিত করে যে কেবল এই স্পষ্টভাবে অনুমোদিত ডোমেনগুলির জন্য উদ্দিষ্ট ট্র্যাফিক, তাদের সাবডোমেনগুলি সহ, ফায়ারওয়ালের মধ্য দিয়ে যাওয়ার অনুমতি পায়। একটি ডিফল্ট-ডেনাই নীতির মাধ্যমে অন্যান্য সমস্ত ট্র্যাফিক পরোক্ষভাবে অস্বীকার করা যেতে পারে।

SNI ছাড়িয়ে: একটি প্রতিরক্ষা-ইন-ডেপথ পদ্ধতি

যদিও SNI-ভিত্তিক ফিল্টারিং শক্তিশালী, এআই এজেন্টদের জন্য একটি সত্যিকারের জিরো-ট্রাস্ট আর্কিটেকচারের জন্য সুরক্ষার একাধিক স্তর প্রয়োজন। যেমনটি উল্লেখ করা হয়েছে, Amazon Route 53 Resolver DNS Firewall এর সাথে AWS নেটওয়ার্ক ফায়ারওয়ালকে যুক্ত করা আরেকটি গুরুত্বপূর্ণ নিয়ন্ত্রণ পয়েন্ট যুক্ত করে। এটি এজেন্টদের DNS এর মাধ্যমে অবরুদ্ধ ডোমেনগুলি সমাধান করা থেকে বাধা দেয়, কার্যকরভাবে একটি সম্ভাব্য বাইপাস ভেক্টর বন্ধ করে যেখানে একটি এজেন্ট সরাসরি একটি আইপি ঠিকানায় সংযোগ করার চেষ্টা করতে পারে যদি ডোমেন রেজোলিউশনও নিয়ন্ত্রিত না হয়।

এছাড়াও, অন্যান্য নিরাপত্তা পরিষেবাগুলিকে একীভূত করা, যেমন HTTP/S ট্র্যাফিক পরিদর্শনের জন্য AWS ওয়েব অ্যাপ্লিকেশন ফায়ারওয়াল (WAF) (যদি ট্র্যাফিক অবশেষে অন্য স্তরে পরিদর্শনের জন্য এনক্রিপ্ট করা না হয়) এবং এজেন্ট আহ্বানের জন্য পরিচয়-ভিত্তিক অ্যাক্সেস নিয়ন্ত্রণ, আপনার নিরাপত্তা অবস্থানকে মজবুত করে। এই বহু-স্তরযুক্ত পদ্ধতিটি গোপনীয় এআই ফ্যাক্টরিগুলির জন্য একটি জিরো-ট্রাস্ট আর্কিটেকচার তৈরি করার সেরা অনুশীলনগুলির সাথে সামঞ্জস্যপূর্ণ।

উপসংহার: সুরক্ষিত এআই এজেন্ট স্থাপনার ক্ষমতা বৃদ্ধি

আপনার এআই এজেন্টরা কোন ডোমেনগুলিতে অ্যাক্সেস করতে পারে তা নিয়ন্ত্রণ করার ক্ষমতা কেবল একটি বৈশিষ্ট্য নয়; এটি এন্টারপ্রাইজ এআই গ্রহণের জন্য একটি মৌলিক নিরাপত্তা প্রয়োজনীয়তা। Amazon Bedrock AgentCore এর সাথে AWS নেটওয়ার্ক ফায়ারওয়াল বাস্তবায়ন করে, সংস্থাগুলি এজেন্ট ইগ্রেস ট্র্যাফিকের উপর সুনির্দিষ্ট নিয়ন্ত্রণ লাভ করে, ডেটা এক্সফিল্ট্রেশন এবং প্রম্পট ইনজেকশনের মতো উল্লেখযোগ্য নিরাপত্তা ঝুঁকি হ্রাস করে এবং কঠোর সম্মতি বাধ্যবাধকতা পূরণ করে।

এআই এজেন্টরা যত বেশি পরিশীলিত এবং গুরুত্বপূর্ণ ব্যবসায়িক প্রক্রিয়াগুলির সাথে একত্রিত হবে, একটি শক্তিশালী নিরাপত্তা কাঠামো অপরিহার্য হয়ে উঠবে। এই সমাধানটি ব্যবসাগুলিকে এআই এজেন্টদের ক্ষমতা ব্যবহার করার জন্য একটি স্পষ্ট পথ প্রদান করে, যখন নিয়ন্ত্রণ, দৃশ্যমানতা এবং একটি অক্ষত নিরাপত্তা অবস্থান বজায় রাখে। এই ধরনের স্থাপত্য নিদর্শনগুলি গ্রহণ করা এজেন্টিক এআই পার্ট 1: একটি স্টেকহোল্ডারদের নির্দেশিকা কে কার্যকারিতা প্রদান এবং একটি সুরক্ষিত, উদ্ভাবনী ভবিষ্যৎ লালন করার মূল চাবিকাঠি।

সচরাচর জিজ্ঞাসিত প্রশ্ন

Why is domain-level control essential for AI agents browsing the internet?
AI agents with internet access offer powerful capabilities but also introduce significant security risks. Unrestricted web access can lead to unintended data exfiltration to unauthorized domains, exposure to malicious content, or exploitation through prompt injection attacks that trick agents into navigating to harmful sites. Domain-level control, specifically allowlisting, ensures that agents can only access pre-approved websites, drastically reducing the attack surface. This is critical for maintaining data privacy, adhering to regulatory compliance standards, and safeguarding sensitive enterprise information, especially in regulated industries where strict network egress policies are mandatory.
How does AWS Network Firewall enhance the security posture of AI agents using Amazon Bedrock AgentCore?
AWS Network Firewall acts as a crucial layer of defense for AI agents deployed via Amazon Bedrock AgentCore. By routing all outbound traffic from AgentCore Browser through the firewall, organizations can implement granular domain-based filtering rules. The firewall inspects TLS Server Name Indication (SNI) headers to identify destination domains and applies allowlist or denylist policies. This ensures that agents only connect to approved external resources, logs all connection attempts for auditing, and can block access to known malicious domains or undesirable categories, thereby bolstering the overall security and compliance of AI agent operations.
What are the primary challenges addressed by implementing domain-based egress filtering for AI agents?
Domain-based egress filtering addresses several critical challenges for AI agent deployments. Firstly, it mitigates the risk of data exfiltration and unauthorized access by ensuring agents only interact with trusted domains. Secondly, it helps prevent prompt injection attacks, where malicious prompts could instruct an agent to visit harmful or unintended sites, by enforcing an allowlist of approved URLs. Thirdly, it meets stringent enterprise security and compliance requirements, particularly in regulated sectors, by providing transparent control and auditability of agent network interactions. Finally, for multi-tenant SaaS providers, it allows for customized, per-customer network policies, enabling specific domain restrictions based on individual client needs.
Can SNI-based domain filtering completely prevent all unauthorized connections by AI agents, and if not, what are the limitations?
While SNI-based domain filtering is highly effective for controlling web access at the TLS layer, it does have a limitation: it relies on the Server Name Indication field during the TLS handshake. An advanced attacker or a sophisticated agent could potentially resolve a blocked domain's IP address through an uninspected DNS query and attempt to connect directly via IP, bypassing SNI inspection. To address this, a defense-in-depth strategy is recommended. This involves pairing SNI filtering with DNS-level controls, such as Amazon Route 53 Resolver DNS Firewall, which can block DNS queries for unauthorized domains and prevent DNS tunneling, ensuring comprehensive egress control.
What is the typical traffic flow for an AI agent's web request when using AWS Network Firewall for domain control?
When an AI agent within Amazon Bedrock AgentCore initiates a web request, the traffic flow is meticulously controlled. First, the AgentCore Browser, residing in a private subnet, attempts to establish an HTTPS connection. This request is routed to a NAT Gateway in a public subnet, which then forwards it to the Network Firewall endpoint. The AWS Network Firewall inspects the TLS SNI header to identify the target domain. If the domain is on the allowlist, the firewall permits the traffic to pass to an Internet Gateway, which then routes it to the external destination. All return traffic follows a symmetric path back through the firewall, ensuring continuous inspection and adherence to security policies.

আপডেট থাকুন

সর্বশেষ AI খবর ইনবক্সে পান।

শেয়ার