<?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 Kedar Parsewar on Medium]]></title>
        <description><![CDATA[Stories by Kedar Parsewar on Medium]]></description>
        <link>https://medium.com/@ksparsewar1023?source=rss-a3cf28c47a85------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Kedar Parsewar on Medium</title>
            <link>https://medium.com/@ksparsewar1023?source=rss-a3cf28c47a85------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 15:56:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ksparsewar1023/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[Everything You Need To Know About S3 Serverless Uploads using Boto3]]></title>
            <link>https://medium.com/@ksparsewar1023/everything-you-need-to-know-about-s3-serverless-uploads-using-boto3-dd15a1777fcd?source=rss-a3cf28c47a85------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd15a1777fcd</guid>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[cross-account-access]]></category>
            <dc:creator><![CDATA[Kedar Parsewar]]></dc:creator>
            <pubDate>Sun, 23 Jan 2022 10:40:45 GMT</pubDate>
            <atom:updated>2022-01-23T10:40:45.392Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi All Today I am going to Share you the S3 Serverless Upload.</p><p>S3 Serverless Upload is a way of achieving the S3 Uploads very secure and Ease of Use.</p><p>The Purpose of creating the Article is when we want to see the uploaded objects from Cross Account.</p><p>Uploading the Files is needed when we are using the day to day application . Now we will see a much more resilient and handy service provided by AWS i.e S3.</p><p>S3 Stands for Simple Storage Service Let me tell you as it describes it is meant to be A Simple Storage Service but will do a lot of things to us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/0*AY0nsBMJuaf1UYyw" /></figure><p>We will follow the above architecture provided by AWS . We will go step by step.</p><p>First We Need to Create A Bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6s8QIoPqT7L7eMCZ" /></figure><p>Second Step is to Select the Object Ownership we will keep as it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hKU7pBBFFiW-BnrQ" /></figure><p>If we want we can use server side Encryption as Enable Currently I am disabled it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*si_3sG_6LmYKw7AE" /></figure><p>Here we need to know if we use the ACLs Enabled with bucket-owner-full-control.</p><p>It will be really helpful when you have access to another account bucket and you are using their bucket and you are uploading the objects. If the bucket owner wants to see uploaded objects .</p><p>But let me tell you one thing: if we are using the ACLs Enabled we need to pass the extra Header as bucket-owner-full-control.</p><p><strong>‘ACL’: ‘bucket-owner-full-control’</strong></p><p>Here I am using the AWS SDK For Python (boto3) for Generating the Presigned Url .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_YRfiWor_B2yb56w" /></figure><p>I will be using the generated presigned url to upload the objects to that folder named serveless -&gt; kedar / .</p><p>Once you save and run a python file you will get the presigned url I am using the Postman to Test it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UAAgti5SbK56-dOV" /></figure><p>As Mentioned we will have to add extra header passing to the request . Because we have created a presigned url with bucket-owner-full-control ACL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/0*5zz_3-ONFmuzH_5m" /></figure><p>Inside Body Select Binary and Select the File to be uploaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ee5_QsFASRX8hmyG" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J0Ea6vBjj_F-jHtt" /></figure><p>We can click on open to see the uploaded image.</p><p>We are able to open and see the image because we have given the bucket-owner-full-control ACL .</p><p>Now you can try with another aws account which you want to give access to and you want to see the uploaded objects.</p><p>{</p><p>“Version”: “2012–10–17”,</p><p>“Statement”: [</p><p>{</p><p>“Effect”: “Allow”,</p><p>“Principal”: {</p><p>“AWS”: “arn:aws:iam::AccountB:user/AccountBUserName”</p><p>},</p><p>“Action”: [</p><p>“s3:GetObject”,</p><p>“s3:PutObject”,</p><p>“s3:PutObjectAcl”</p><p>],</p><p>“Resource”: [</p><p>“arn:aws:s3:::AccountABucketName/*”</p><p>]</p><p>}</p><p>]</p><p>}</p><p>You can use the bucket policy for cross account bucket access.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd15a1777fcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Google Firebase  and Firebase Authentication]]></title>
            <link>https://medium.com/@ksparsewar1023/what-is-google-firebase-and-firebase-authentication-7afbe66b7280?source=rss-a3cf28c47a85------2</link>
            <guid isPermaLink="false">https://medium.com/p/7afbe66b7280</guid>
            <category><![CDATA[firebaseauthentication]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Kedar Parsewar]]></dc:creator>
            <pubDate>Sat, 21 Mar 2020 12:56:31 GMT</pubDate>
            <atom:updated>2020-03-21T12:56:31.258Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Google Firebase and Firebase Authentication</h3><figure><img alt="Google Firebase" src="https://cdn-images-1.medium.com/max/800/1*cKZ4JjkHXaLjTniFihHnnw.png" /><figcaption>Hello World I am Firebase</figcaption></figure><p>Firebase is Google’s mobile application development platform that helps you build, improve, and grow your app.</p><p>Firebase is built on the google platform to provide more scales to app</p><h3>List and Explain the feature of it in short.</h3><p>There are variety of services offered by the Google Firebase to help the organization. I am listing out some of the major services which are using most commonly.</p><p><strong>Authentication</strong> — user login and identity<br> <strong>Realtime Database</strong> — realtime, cloud hosted, NoSQL database<br> <strong>Cloud Firestore</strong> — realtime, cloud hosted, NoSQL database<br> <strong>Cloud Storage</strong> — massively scalable file storage<br> <strong>Cloud Functions</strong> — “serverless”, event driven backend<br> <strong>Firebase Hosting</strong> — global web hosting<br> <strong>ML Kit</strong> — SDK for common ML tasks <strong>Cloud Messaging</strong> — send notification to any devices.</p><p>I am attaching the above features with the picture format. “ As the Picture is a worth of thousand words”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*PHDar5I6qMt0CSryVnhxgw.png" /><figcaption>Copyrights Firebase Documentation Website</figcaption></figure><h3>The steps involved in firebase — authentication.</h3><p>Authentication is the main part of any system whatever it is. It may be web android based application.Authentication always play a vital role to build any app. Firebase provides good environment to handle user’s activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*ADAu9JSN_zWNFYtJR9CIeQ.png" /><figcaption>Firebase Authentication</figcaption></figure><p>Lets walk through the simple steps to build our first authentication App.</p><h4>Step 1.</h4><p>Create a project on<a href="https://firebase.google.com/"><em> </em><strong><em>firebase console</em></strong></a><strong>.</strong> connect to your apps. You can connect your apps to firebase project with two options . 1-Android Studio Firebase assistance 2.Firebase console setup workflow. After creating the project on firebase console its time to connect your app with the project. I will do second approach through this post.</p><p>First Create an android app because we have to register the app by using Package name . Follow the Guidelines which are over there.</p><p>Make sure you have add all required plugins as mentioned in the documents.&lt;uses-permission android:name=”android.permission.INTERNET”/&gt;</p><figure><img alt="Steps to add firebase to your app" src="https://cdn-images-1.medium.com/max/480/1*-fvG11sGzjbHRy1pdFV8kg.jpeg" /></figure><h4>Step2.</h4><p>Once the app is get connected to the firebase servers .It’s time to use the services which are offering by firebase.</p><p>To use the Authentication service click on the Authentication which is in the Pallet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Tee975vZ1GUbXbLofdnTA.png" /></figure><p>Click on the sign-in authentication you want to use I am using email/password there are variety of authentication which you can use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7ezikGzGFxavSzuABwHng.png" /></figure><h4>Step3.</h4><p>Lets create the layout.Step3. and Add the Authentication Part</p><p>We will be designing the following UI For Registration screen.</p><h4>Registration Page-</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*73A1aMti-qJGJ6TI9fFuFA.png" /></figure><h4>signup.xml</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9360d9c1cd2009f46fa8c78d0ccd6d8/href">https://medium.com/media/c9360d9c1cd2009f46fa8c78d0ccd6d8/href</a></iframe><h4>Signup.java (use FirebaseAuth instace to call the Registration Method)</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f19727566ac5fa0198881a144fe9de1d/href">https://medium.com/media/f19727566ac5fa0198881a144fe9de1d/href</a></iframe><p>You can check in the Firebase console that user get added or not by clicking on users section. User get registered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-GUh37kusDgxoGC3pXDeWg.png" /></figure><h4>Login Page</h4><p>Login Page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*G3ofrOD6kujtx40MuZohqw.png" /></figure><h4>Login.xml</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bca2806d7bb479a648427fd132923dc4/href">https://medium.com/media/bca2806d7bb479a648427fd132923dc4/href</a></iframe><h4>Login.Java</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c859869f7adab71c5578ef251c582069/href">https://medium.com/media/c859869f7adab71c5578ef251c582069/href</a></iframe><h4>Logout From the App</h4><h4>Home</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*vxtA8iQ7fQ5hJLr-Et3UcA.png" /></figure><h4>Home.xml</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ef0341f35df90c0ecd4d76bad4a9a711/href">https://medium.com/media/ef0341f35df90c0ecd4d76bad4a9a711/href</a></iframe><p>On clicking the Logout Button User will signout from the App and App will redirect to the LoginActivity.</p><h4>Home.java</h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e70c6f2cdb534b75df9adf677187cdf/href">https://medium.com/media/7e70c6f2cdb534b75df9adf677187cdf/href</a></iframe><p>Thanku if you have any queries feel free to ask .</p><p>This workflow will help you to set up basic authentication. There are more features , for them just look at the firebase documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7afbe66b7280" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>