<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sachin Dhamne on Medium]]></title>
        <description><![CDATA[Stories by Sachin Dhamne on Medium]]></description>
        <link>https://medium.com/@sachin.dhamne20?source=rss-4389e35bec34------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ry8yZTK86n4Vb0mT</url>
            <title>Stories by Sachin Dhamne on Medium</title>
            <link>https://medium.com/@sachin.dhamne20?source=rss-4389e35bec34------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 23:43:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sachin.dhamne20/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Identity and Access Management in AWS]]></title>
            <link>https://medium.com/@sachin.dhamne20/identity-and-access-management-in-aws-3d365f3de6a6?source=rss-4389e35bec34------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d365f3de6a6</guid>
            <category><![CDATA[iam-roles]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[identityaccess-management]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Sachin Dhamne]]></dc:creator>
            <pubDate>Fri, 05 May 2023 09:49:45 GMT</pubDate>
            <atom:updated>2023-05-05T11:51:40.816Z</atom:updated>
            <content:encoded><![CDATA[<p>Identity and access management (IAM) ensures that the right people and job roles in a organization (identities) can access the tools they need to do their jobs. Identity management and access systems enable a organization to manage employee apps without logging into each app as an administrator. Identity and access management systems enable the organization to manage a range of identities including people, software, and hardware like robotics and IoT devices.</p><h3>Why IAM?</h3><p>Companies need IAM to provide online security and to increase employee productivity.</p><ul><li><strong>Security:</strong> Traditional security often has one point of failure — the password. If a user’s password is breached — or worse yet, the email address for their password recoveries — your organization becomes vulnerable to attack. IAM services narrow the points of failure and backstops them with tools to catch mistakes when they’re made.</li><li><strong>Productivity:</strong> Once you log on to your main IAM portal, your employee no longer has to worry about having the right password or right access level to perform their duties. Not only does every employee get access to the perfect suite of tools for their job, their access can be managed as a group or role instead of individually, reducing the workload on your IT professionals.</li></ul><h3>How Does IAM Work?</h3><p>Identity management solutions generally perform two tasks:</p><ol><li>IAM confirms that the user, software, or hardware is who they say they are by authenticating their credentials against a database. IAM cloud identity tools are more secure and flexible than traditional username and password solutions.</li><li>Identity access management systems grant only the appropriate level of access. Instead of a username and password allowing access to an entire software suite, IAM allows for narrow slices of access to be portioned out, i.e. <em>editor</em>, <em>viewer</em>, and <em>commenter</em> in a content management system.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wJ6yJ8n31rTyAGFgBuMmUg.png" /><figcaption>Source: <a href="https://cybersecurityasean.com/daily-news/identity-access-management-cornerstone-good-cybersecurity">Cyber Security Asean</a></figcaption></figure><h3>What Does IAM Do?</h3><p>IAM systems provide this core functionality:</p><ul><li>Manage user identities</li><li>Provisioning and deprovisioning users</li><li>Authenticating users</li><li>Authorizing users</li><li>Reporting</li><li>Single Sign-On</li></ul><h3>What is the Difference Between Identity Management and Access Management?</h3><p><em>Identity management</em> confirms that you are you and stores information about you. An identity management database holds information about your identity — for example, your job title and your direct reports — and authenticates that you are, indeed, the person described in the database.</p><p><em>Access management</em> uses the information about your identity to determine which software suites you’re allowed access to and what you’re allowed to do when you access them. For example, access management will ensure that every manager with direct reports has access to an app for timesheet approval, but not so much access that they can approve their own timesheets.</p><h3>What Does an IAM Implementation Strategy Include?</h3><p><strong>Central identity management<br></strong>A key principle of zero trust is managing access to resources at the identity level, therefore having centralized management of those identities can make this approach much simpler. This could mean migrating users from other systems or at least synchronizing your IAM with other user directories within your environment such as a Human Resources directory.</p><p><strong>Secure access<br></strong>Since securing at the identity level is key, an IAM should make sure that it is confirming the identities of those who are logging in. This could mean implementing MFA or a combination of MFA and adaptive authentication to be able to take into consideration the context of the login attempt: location, time, device, etc.</p><p><strong>Policy-based control<br></strong>Users should only be given authorization to perform their required tasks and no more privilege than is necessary. An IAM should be designed to give users access to resources based upon their job role, their department or any other attributes that seem appropriate. As part of the centrally managed identity solution these policies can then ensure that resources are secure no matter where they are being accessed from.</p><p><strong>Zero-Trust Policy<br></strong>A zero trust policy means that an organization’s IAM solution is constantly monitoring and securing its users identity and access points. In the past, organizations operated on a “once you’re in, you have access” policy, but zero-trust policies ensure that each member of the organization is constantly being identified and their access managed.</p><p><strong>Secured privileged accounts<br></strong>Not all accounts in an access management system are created equal. Accounts with special tools or <a href="https://www.oneidentity.com/what-is-privileged-access-management/">privileged access</a> to sensitive information can be provided a tier of security and support that suits their status as a gatekeeper for the organization.</p><p><strong>Training and support<br></strong>IAM providers provide training for the users who will be most engaged with the product — including users and administrators — and often provide customer service for the long-term health of your IAM installation and its users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T8lGCP_Eq8awq_hwMcYl4g.png" /><figcaption>Source: <a href="https://aws.amazon.com/iam/&#39;">Amazon AWS</a></figcaption></figure><h3><strong>How to Create IAM Users and User Groups on AWS:</strong></h3><p>Multiple users can be configured in a single AWS account when you have more members in your team or organization. These users are called IAM (Identity and Access Management) users. Each user will get his unique user ID and login credentials for security and privacy. All of these users will utilize the resources from the same root account so there will be no billing on the IAM users and just the root account will be charged for the overall use of the services and resources. By default, our root account in AWS has all permissions and access to everything that is why from a security perspective this is not a great idea to use your root user for routine tasks, instead you can create IAM users and assign them the permissions that users need to manage the system.</p><p>Every user has to be assigned permissions to access the required resources according to his roles and requirements. These permissions can be allowed by directly attaching a permission policy with an IAM user but this is not a good approach from a management point of view. So, a better approach is to create a user group and assign permissions to that group and all the IAM users within the user group will inherit the permissions assigned to the user group and you will not need to manage the permissions individually for each IAM user.</p><p>In this blog, we are going to view how we can create an IAM user and User Group in AWS using AWS management console and AWS command line interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*xHjFxOsiIsMCPfor47PBrQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*YpEuREpbr9lZBF24eXBm-A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cvmZ7RybYP2CbMJRhWF4JA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*4D81a1f9YAl6CqK19LMpUw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*mPTFowNG01dCq4rZ5SgRnw.png" /></figure><h3><strong>Roles and Policies:</strong></h3><p>In AWS Identity and Access Management (IAM), roles and policies are used to manage access to AWS resources. Here are some key points about roles and policies:</p><h4>Roles:</h4><ol><li>A role is an AWS IAM entity that defines a set of permissions for making AWS service requests.</li><li>Roles are intended to be assumed by trusted entities such as AWS services, applications, or other AWS accounts.</li><li>When a role is assumed, temporary security credentials are generated that allow the trusted entity to perform actions on behalf of the role.</li><li>Roles can be assigned to AWS resources, such as Amazon EC2 instances, to grant those resources permissions to access other AWS resources.</li></ol><h4>Policies:</h4><ol><li>A policy is a document that defines one or more permissions for an AWS resource or a user, group, or role.</li><li>Policies can be attached to IAM identities (users, groups, and roles) or directly to AWS resources.</li><li>Policies are written in JSON (JavaScript Object Notation) format and specify which actions are allowed or denied on which resources.</li><li>Policies can be used to grant or restrict access to specific AWS resources or actions, or to enforce compliance with security policies.</li><li>AWS provides many built-in policies that can be used as templates or customized to meet specific needs.</li></ol><p>In summary, roles and policies provide flexible and granular control over access to AWS resources, enabling organizations to enforce security policies and manage permissions at scale.</p><h3>Conclusion:</h3><p>AWS Identity and Access Management (IAM) is a powerful tool for managing access to AWS resources. With IAM, administrators can create and manage users, groups, and roles, assign granular permissions, and enforce security policies across their organization’s AWS accounts. IAM’s flexible and scalable architecture allows organizations to easily manage access to AWS resources as they grow and change over time. By using roles and policies, administrators can ensure that users and resources have only the permissions they need to perform their tasks, reducing the risk of unauthorized access or accidental data exposure. Overall, IAM is a critical component of any AWS security strategy, providing a foundation of secure access control to AWS resources.</p><h3>Authors:</h3><ol><li><a href="https://medium.com/@aqburaksha">Abdul Qadir Hussaini</a></li><li><a href="https://medium.com/@sachin.dhamne20">Dhamne Sachin</a></li><li><a href="https://medium.com/@kanathiaarnav">Arnav Kanathia</a></li><li><a href="https://medium.com/@mustafa.attarwala20">Mustafa Attarwala</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d365f3de6a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[P Vs NP Problems]]></title>
            <link>https://medium.com/@sachin.dhamne20/p-vs-np-problems-6d3018a788d?source=rss-4389e35bec34------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d3018a788d</guid>
            <category><![CDATA[p-vs-np]]></category>
            <category><![CDATA[millennium]]></category>
            <category><![CDATA[vit]]></category>
            <category><![CDATA[institute]]></category>
            <dc:creator><![CDATA[Sachin Dhamne]]></dc:creator>
            <pubDate>Sun, 19 Jun 2022 14:48:45 GMT</pubDate>
            <atom:updated>2022-06-28T05:55:21.566Z</atom:updated>
            <content:encoded><![CDATA[<p>P vs NP, to begin with In 2000 the Clay Institute had offered 1 Million dollars for the person who provides a solution to the problem. There are a total of 7 millennium problem in computer science which are to be solved for the price money. Among the 7 P vs NP is one of the major unsolved problem.</p><p>Proving or disproving the P=NP problem would have profound implications in the fields of computer science, mathematics, cryptography, AI, multimedia processing, economics and many other.</p><p>The problem states “ Can every problem whose solution can be quickly verified by a computer also be solved as quickly by a computer? ”.</p><p>This problem was formally introduced by <strong>Stephen Cook in 1971</strong> in his famous paper “The Complexity of Theorem Proving Procedures”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*mf88f0oYSUTaMnn3agpQrQ.png" /></figure><p><strong>The P class Problem</strong></p><p>The class of Problems having efficient solutions is known as <strong>P (Polynomial Time)</strong> . In other words, a problem is in the class P if it is a decision problem and there exists an algorithm that solves any instance of size n in O(n^k) time, for some integer k.</p><p>A deterministic algorithm is (essentially) the one that always computes the correct solution.</p><p>When done a comparison, The solution to P class problems is easy to find.</p><p>P is often a class of computational problems that are solvable and tractable. Tractable means that the problems can be solved in theory as well as in practice. But as for the problems that can be solved in theory but not in practice are known as intractable.</p><p>P is considered to be a machine-independent class.</p><p>Some problems that fall under the p class are Multiplication, Recognizing relatively prime integers, Recognizing palindromes, Sorting, Divisibility, Matching symbols in a string, Factorization, Searching elements, Graph Connectivity.</p><p>Lets Discuss one of the p class problem.</p><p>Recognizing Palindromes :- Palindrome is a string that is the same when we do the reversal of it.</p><p>For example, aabcbaa is a palindrome. Let’s define</p><p>PALINDROME =</p><p>{x | x ∈ {a, b, c}* and x is a palindrome}</p><p>The problem of recognizing palindromes is solvable in linear time, which is certainly a polynomial time related.</p><p>It is easy to see that PALINDROME is in P. To decide if x is a palindrome, we just have to reverse x and check whether the reversal of x is equal to x.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*_K9QeoZvCAG_NQleReqJhg.png" /></figure><p><strong>The NP class Problem</strong></p><p>A problem is called NP if its solution can be guessed and verified in polynomial time, it is The class of Problems that have verifiable solution.</p><p>They are solvable in polynomial time on a nondeterministic machine (or with a nondeterministic algorithm).</p><p>In case of np class problems a solution to the problem is somehow known, then demonstrating the correctness of the solution can always be reduced to a single P verification.</p><p>A nondeterministic computer is one that can just “guess” the right answer or solution.</p><p>Some problems which may fall under the np class are Boolean, Satisfiability problem (SAT), Knapsack problem, Hamiltonian path problem, Travelling salesman problem, Subgraph isomorphism problem, Subset sum problem.</p><p><strong>NP Hard Problem</strong></p><p>A language H, is NP-Hard if and only if for every language L belongs to Np there is a possible polynomial time reduction form L to H i.e. A problem is NP-hard if all problems in NP are polynomial time reducible to it.</p><p>In simple words if we are asked to solve a certain problem and we can reduce that Problem to a other problem whose solution is known to us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*O65IZhxpb-sIo7C95AHPjg.png" /></figure><p><strong>NP Complete Problem</strong></p><p>For A Language to fall under the np complete problem class it has to belong to both the np class as well as the np hard class problem.</p><p>Some of the problems from np and np hard can be considered for this class as it falls under both of the classes.</p><p>There are some important theorems related to np problems, they are</p><p>a. If any NP-Complete Language is in P then P=NP</p><p>b. If any NP-Complete is not in P then P != NP</p><p>One Of The Example for NP class can be taken as <strong>Travelling Salesman Problem</strong></p><p>This is one of the classic example of “np complete” problem. In this problem a traveler needs to visit all the cities from a given list, where distances between all the cities are known to us and each city should be visited only once. The part to be solved is What should be the shortest possible route that he visits each city exactly once and returns to the city where he started.</p><p>Solution to this is calculating all the possible routes by using the permutations and combinations. By using the brute force, the number of possibilities becomes <strong>(n-1)!</strong> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*AphNwUOZy1tyUaUib1a46w.png" /></figure><p><strong>Are We supposed to care ?</strong></p><p>These is one among the millennium problems which have a big reward for finding a solution for them. So Considering the reward we can try solving the problems. Now taking the rest into consideration</p><p>If P=NP :-</p><p>We could find solutions to search problems as easily as checking whether those solutions are good. This would essentially solve all the algorithmic challenges that we face today and computers could solve almost any task.</p><p>Using the Fortnow’s example, if P=NP, then the robotic hand would be capable of doing anything an actual human hand can do.</p><p>Also if we could find the solution to show that P=NP, we could help cure the diseases like cancer and revolutionize society.</p><p>Now if P != NP :-</p><p>According to web polls, most computer scientists already believe that P ≠ NP. If P does not equal NP, then there will be no shortcuts, and computer’s problem-solving powers will remain fundamentally and permanently limited.</p><p>Even if we proved that P does not equal NP–which is something that everyone already believes–it would have to radically expand our understanding of those capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*_a1BkMKiOdDKXXzGnGLoUg.png" /></figure><p><strong>NP-HARD TO NP-COMPLETE</strong></p><p>Boolean Satisfiability or simply SAT is the problem of determining if a Boolean formula is satisfiable or unsatisfiable.</p><ol><li>Suppose the formula has<strong> n </strong>input variables.<strong> It means that the answer and our verification certificate is an interpretation of n variables.</strong> They might be set to <em>true</em> or <em>false</em>. Moreover, we can check whether the formula is satisfied at a linear time. As a result, we verify our certificate in polynomial time. So, the problem is in NP.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*m-0mPRjzEaY-leNfccdInA.jpeg" /></figure><p><strong>2. Prove that 4-SAT is NP-Hard Problem</strong></p><p><strong>Let’s take 3SAT, which is NP-Complete, and reduce 3SAT to 4SAT.</strong></p><p>Given an input 3SAT formula <strong>A=(x ∨ y ∨ z)</strong> ⇒ <strong>B=(x ∨ y ∨ z ∨ h) Ʌ (x ∨ y ∨ z ∨ ~h)</strong></p><p>It is clear that we can do it in polynomial time.</p><p>If a given clause<strong> (x ∨ y ∨ z) </strong>is satisfied, then <strong>(x ∨ y ∨ z ∨ h) Ʌ (x ∨ y ∨ z ∨ ~h)</strong></p><p>is satisfied. Variable h can be either <em>true</em> or <em>false</em>. Thus, if <strong>A </strong>is satisfiable, <strong>B </strong>is satisfiable.</p><p>Suppose B is satisfied. Let the satisfiable interpretation of <strong>n </strong>variables be S. <strong>S</strong> consists of assignments of each variable. Then <strong>(x ∨ y ∨ z ∨ h) Ʌ (x ∨ y ∨ z ∨ ~h)</strong> must be <em>true</em> under <strong>S <em>.</em></strong> Variables <strong>h </strong>and <strong>~h</strong> have different values. If variable h is <em>true</em> then ~h is <em>false</em> and vice versa. So, <strong>(x ∨ y ∨ z) </strong>must be <em>true</em> under S as well. Thus,A is satisfiable.</p><p>As a result, there exist a polynomial algorithm that converts the inputs of 3SAT to the inputs of 4SAT. It means that <strong>4SAT </strong>is <strong>NP-Hard.</strong></p><p><strong>Finally, we’ve proved 4SAT is in NP and NP-Hard. Therefore, we can say that 4SAT is NP-Complete.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d3018a788d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>