<?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 Emre Özyavuz on Medium]]></title>
        <description><![CDATA[Stories by Emre Özyavuz on Medium]]></description>
        <link>https://medium.com/@dalvenjahx?source=rss-e96e8dd1fcb0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WJT4zBpV4iR0XL6yLpbaUQ.png</url>
            <title>Stories by Emre Özyavuz on Medium</title>
            <link>https://medium.com/@dalvenjahx?source=rss-e96e8dd1fcb0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 06:54:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dalvenjahx/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[En Çok Görülen Saldırı Yöntemleri]]></title>
            <link>https://medium.com/@dalvenjahx/en-%C3%A7ok-g%C3%B6r%C3%BClen-sald%C4%B1r%C4%B1-y%C3%B6ntemleri-d630516146f3?source=rss-e96e8dd1fcb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d630516146f3</guid>
            <dc:creator><![CDATA[Emre Özyavuz]]></dc:creator>
            <pubDate>Thu, 27 Aug 2020 12:49:29 GMT</pubDate>
            <atom:updated>2020-08-27T12:49:29.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*zmw_Rl6fYlmzshayTPVzow.jpeg" /></figure><p><strong>En Çok Görülen Saldırı Yöntemleri</strong></p><p><strong>Broken authentication:</strong> Giriş-login alanlarının yanlış yapılandırılması sonucu giriş alanlarının atlatılması ya da zayıf password yapısından yararlanarak kaba-kuvvet(brute-force) saldırıları ile izinsiz-yetkisiz giriş yapılama durumudur.</p><p>Saldırgan web uygulamalarında kimlik doğrulama ve oturum sağlamak amacı ile her kullanıcıya atanan “id değerleri” sayesinde sitede id değerinin sahibinin yetkileri ile gezinebilir.<br>Siteye erişim sağlayan her kullanıcıya bir değer atanır. Bu değerler sayesinde oluşabilen bu açık saldırganın sitede yetkiye erişmesine olanak sağlar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWlhwQ9BahwhlcdO9r2viA.jpeg" /></figure><p>Ayrıca mail ile hesabın aktivasyonunun yapılmasının münkün olmadığı sitelerde de ortaya çıkabilir. Session Yönetimi’nin yanlış yapılmasından dolayı da ortaya çıkabilir.<br>Bu saldırı türü <strong>Oturum Sabitleme(Session Fixation)</strong> ve <strong>Tahmin Edilebilir Oturum(Session Prediction)</strong> olarak ikiye de ayrılabilmektedir.</p><p><strong>Broken access controls:</strong> Sunucu üzerinde eksiz veya yanlış yapılandırılma sonucu yetkisi dahilinde olmayan kullanıcıların bilgilerine ulaşmayı sağlayan açıklıklardır.</p><p>Bu açıklıklar hangi kullanıcıların neleri yapabileceğinin düzgün uygulanmaması sonucu oluşur. Saldırganlar bu zafiyetleri kullanarak izni olmayan dosyalara erişebilir, yetkisi olmayan fonksiyonları kullanabilir, diğer kullanıcıların verilerine erişebilir yada yetkileri değiştirebilir.</p><p>Önlemler:</p><ul><li>Genel verilerin harici diğer verilerin varsayılan olarak engellenmesi</li><li>İzin kontrol mekanizmasının düzgün olarak yapılıp diğer yerlerde de kullanılması</li><li>Server directory listing’in disable edilmesi</li><li>Yanlış erişimlerin loglanması ve adminlere bildirilmesi</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WdSOvxoUYJvLiSIW5WUcAw.jpeg" /></figure><p><strong>Sql Injection:</strong> Uygulama ile veritabanı arasındaki etkileşim açıklıklarını kullanarak izinsiz-yetkisi dahilinde olmayan bilgileri alma, veritabanı sunucusunu istediği gibi yönetme olaylarını sağlayan açıktır.</p><p>Sql injection özet olarak querystringler ile sorgulara müdahalede bulunup veritabanına erişerek veritabanındaki bilgileri görüntülemek şeklinde açıklanabilir.</p><p>Kullanıcı giriş formunda kullanıcı ve şifrenin doğruluğunu şu şekilde kontrol ederiz:</p><blockquote>select * from users where uname=’”uname”’ and pass=’”pass”’</blockquote><p>Biz eğer sql injeciton kontrolü yapmadıysak username ve pass alanına ‘ OR ‘1’=’1 sql sorgusunu şu hale getirilerek yani %100 doğru olarak kabul ettirerek kolayca sistemdeki kullanıcı adı ve şifre bilgileri çalınabilir.</p><blockquote>select * from users where username=’”uname’OR’1&#39;=’1”’ and pass=’”pass’OR’1&#39;=’1”’</blockquote><p>Bu sorguda her 2 taraftada 1=1 olduğundan ve and koşulu sağlandığından tüm kullanıcı adı ve şifreler sorgu sonucu olarak çıkmaktadır.</p><p>Sql injecitondan kontrolünün php dilindeki en temel yöntemi <strong>mysql_real_escape_string</strong> fonksiyonudur.</p><p>Bu fonksiyon gelen değerden escape karakterleri (‘,/ vb.) temizleyerek web sitesini temel düzeyde sql injectionlara karşı korur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-2FTeQ03WUBTcWGA7is_A.jpeg" /></figure><p><strong>Cross-site scripting:</strong> Javascript kodları kullanıcılara dair bilgilerin çalındığı saldırılardır.(XSS saldırıları) XSS çoğunlukla tarayıcıda saklanan bilgiler olan <strong>cookie</strong>lere saldırı amacı ile kullanılmaktadır.</p><p>Örnek bir XSS saldırı kodu şu şekildedir:</p><blockquote>&lt;script&gt;alert(“1”)&lt;/script&gt;</blockquote><p>Eğer sitede XSS açığı varsa ekranda javascript alerti ile 1 yazar.</p><p><strong>XSS </strong>ataklarından korunmak için yapılacak en basit önlem açık olan kısımda filtreleme uygulamaktır. Php dilini ele alırsak strip_tags fonksiyonu kullanılarak javascript ve html etiketleri filtrelenebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wB7JxW9_DaalwWG2NpQgfg.png" /></figure><p><strong>Cross-site request forgery:</strong> Javascript kodları kullanılır ancak bu saldırılarda etkileşimi sağlayan kurbanlardır. Normal görünen zararlı linkler, resimler vb. nesnelerle etkileşim sonucu zafiyetin oluşması durumudur.</p><p>Aşağıdaki kodda saldırgan img etiketini kullanarak yani urli bir imaj urli olarak göstererek sisteme sanki daha önce kayıt olmuş bir kullanıcı gibi giriş yapmak istemektedir.</p><blockquote>&lt;img src=”abc.php?giris=dogru”&gt;</blockquote><p>Bu tür açıkları kapatmak için en pratik yol ise token kullanımıdır.</p><blockquote>&lt;?php</blockquote><blockquote>$_SESSION[“token”] = sha1(rand());</blockquote><blockquote>echo’&lt;a href=”abc.php?giris=dogru&amp;token=.’$_SESSION[“token”].”’;</blockquote><blockquote>abc.php dosyasındaki session kontrolü ise şu şekilde olmalıdır:</blockquote><blockquote>&lt;?php</blockquote><blockquote>if($_GET[“giris”]==dogru){</blockquote><blockquote>if(isset($_GET[“token”])&amp;&amp;$_GET[“token”]==$_SESSION[“token”]){</blockquote><blockquote>session_start();//Dogruysa oturumu baslat</blockquote><blockquote>}</blockquote><blockquote>else{</blockquote><blockquote>echo “token yanlış!”;</blockquote><blockquote>}</blockquote><blockquote>}</blockquote><p><strong>Information leakage:</strong> Uygulama hatalarının tahlil edilmesi sonucu uygulamaya dair hassas bilgilerin elde edilerek saldırının gerçekleşmesi durumudur.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d630516146f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSI Katmanları  Nelerdir?]]></title>
            <link>https://medium.com/@dalvenjahx/osi-katmanlar%C4%B1-nelerdir-529cf5775a45?source=rss-e96e8dd1fcb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/529cf5775a45</guid>
            <dc:creator><![CDATA[Emre Özyavuz]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 15:42:19 GMT</pubDate>
            <atom:updated>2020-08-18T15:42:19.343Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iO_Kp-j5VlBFETTw611hJA.jpeg" /></figure><p><strong>OSI Katmanları Nelerdir?</strong></p><p>OSI ( Open Systems Interconnection ) modelini ISO ( International Organization for Standardization ) geliştirmiştir. Amaç iki bilgisayar arasındaki iletişimin nasıl olacağını tanımlamaktır. 1978 yılında ilk defa ortaya çıkarılan bu standard 1984 yılında yeni bir düzenleme yardımıyla OSI ( Open System Interconnect ) referans modeli ile yayınlanmıştır. OSI öncesindeki dönemde, yalnızca bilgisayar donanımı üreten kuruluşlara özgü ağlar vardı. Bu ağların özellikleri, çoğunlukla yalnızca o üreticinin donanımının bağlanmasına izin verecek biçimde tanımlanmıştı. Onlardan ayrı olarak OSI, çeşitli üreticilerin ürünlerinin bağlanabileceği bir ağ için, bir sektör etkinliği olarak ortaya çıkmıştır. OSI Modeli herhangi bir donanım ya da bilgisayar ağı tipine göre değişiklik göstermemektedir. OSI’nin amacı ağ mimarilerinin ve protokollerinin bir ağ ürünü bileşeni gibi kullanılmasını sağlamaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*9gO7qAqeRL-kOYjLu8KLCQ.gif" /><figcaption>OSI Modeli, katmanlar ve protokoller</figcaption></figure><p><strong>OSI Öncesinde…</strong></p><p>OSI öncesinde, yalnızca bilgisayar donanımı üreten kuruluşlara özel ağlar vardı demiştik… Onlardan ayrı olarak OSI, çeşitli üreticilerin ürünlerinin bağlanabileceği bir ağ için, bir sektör etkinliği olarak ortaya çıkmıştır. OSI Modeli herhangi bir donanım ya da bilgisayar ağı tipine göre değişiklik göstermemektedir.</p><p><strong>Katmanlar Arası İlişki</strong></p><p>Herbir katmanın görevi bir üst katmana servis sağlamaktır. İki bilgisayar arasındaki iletişimde katmanlar sırasıyla iletişim kurarlar; eş düzeydeki katmanlar aslında doğrudan iletişim kurmazlar ancak aralarında sanal bir iletişim oluşur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*_J3uIExgb8xBknVlOOQ2pg.jpeg" /></figure><p>OSI modeline göre veriler tüm bu katmanlardan geçerek iletilir. Bundan dolayı network uzmanının ağ sistemindeki bir problemi analiz edip en iyi şekilde çözmesi için çok iyi bilmesi gereken bir modeldir. Her katmanın yaptığı görev, her katmanda çalışan protokoller ve bu protokollerin görevleri vardır.</p><p><strong>Protokol nedir?</strong></p><p>Bir işleyişin düzgün çalışması ve hata yapılmaması için oluşturulan kurallar silsilesine <strong>protokol </strong>denir.</p><p>Bilgisayar ağlarında protokol kelimesi iki donanım veya yazılımın önceden çizilmiş kurallar çerçevesinde nasıl haberleşmeleri gerektiğini tanımlar. Günlük hayatımızda basit sayılacak bir mail gönderimi veya bir WhatsApp yazışması için bile arka planda birçok protokol görev yapar. İki sistem arasında iletişim için kullanılan dili, yani mesajlaşma kurallarını belirtir. “Dil” yerine “protokol” kelimesinin seçilmiş olmasının sebebi, bu kelimenin programlama dili terimleri arasında, daha önceden yer alıyor olmasından kaynaklanır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*xDWcI0EQefXgA_esQLIHlA.png" /></figure><p>Sistemler iletişim için tek bir protokol kullanmazlar. Bunun yerine, protokol ailesi ya da diğer bir deyişle protokol takımı kullanırlar. Protokollerin birbirleriyle iletişiminin koordinasyonu için, konsept bir yapı gereklidir. Bunu sağlayacak yazılım hem protokolü, hem de ‘xfer-mekanizmasını’ sağlamak zorundadır. Bilgisayar iletişimi programlamaya benzetilebilir. ‘Xfer-mekanizması’ da işlemci’ye benzer gibi bir analoji de bu benzetim üzerine doğru olur; ‘Xfer-mekanizması’ iletişimi sağlar ve cpu da işler, sistem de protokollere, diğer protokollerle olan iletişimler için bağımsız bir çalışma çevresi tanımlar. Önemli bir tanım da, protokollerin bilgisayar iletişim için, programlamlamanın ise işlem için olduğudur.</p><p><strong>1. Katman: Fiziksel Katman (Physical Layer )</strong></p><p>Fiziksel katmanın başlıca özellikleri şunlardır:</p><ul><li>Veri bağlantısının elektriksel ve fiziksel özelliklerini ve bir cihaz ile cihazın fiziksel aktarım aracı (örneğin: bakır, fiber optik kablo, radyo frekansı) arasındaki ilişkiyi tanımlar.</li><li>Aktarım modlarını (örneğin: simplex, half duplex, full duplex) tanımlar.</li><li>Çok yaygın olan bazı ağ topolojilerini (bus, mesh veya ring) tanımlar.</li><li>Bitlerin çözümlenmesi bu katmanda yapılır.</li><li>Çözülen bitlerin, dijital ya da analog sinyal halinde gönderileceğinin kararının verildiği katmandır.</li><li>Çoğunlukla ham veriyle ilgilenir.</li></ul><p>Kullanılan standartlardan bazıları şunlardır;</p><p>EIA/TIA-232<br>EIA/TIA-449<br>V.24<br>RJ45<br>FDDI<br>V.35<br>Ethernet<br>NRZ<br>B8ZS<br>GBIC/SFP</p><p><strong>2.Katman: Veri Bağı Katmanı ( Data Link Layer )</strong></p><p>Bu katman, kaynaktan gönderilen verinin çerçeve (frame) haline getirilerek hedef adresine iletilmesini sağlar. Bu katman Media Access Control(MAC) ve Logical Link Control(LLC) olmak üzere iki alt katmandan oluşur. MAC alt katmanı her bir network kartında benzersiz olarak bulunan 48 bitlik MAC adresini kullanır.Veri paketinde bulunan kaynak ve hedef MAC adresleri ile haberleşmenin doğru yapılmasını sağlar. LLC alt katmanı bir üst katman için geçiş görevini üstlenir. İki katman arasındaki haberleşmeyi mantıksal portlar SAPs (Servis Access Points) oluşturarak sağlar. Bu katmanda kullanılan CRC hata denetim protokolü ve CSMA/CD çakışma protokolü ile gönderilen verinin hata ve çakışma denetimi yapılır.</p><p>IEEE 802.3/802.2<br>HDLC<br>Frame Relay<br>PPP<br>FDDI<br>ATM<br>CSMA/CD<br>CSMA/CA</p><p><strong>3. Katman: Ağ Katmanı ( Network Layer )</strong></p><p>Ağ katmanı, değişken uzunluklu veri dizilerinin(datagram) bir ağ düğümünden aynı ağa bağlı başka bir ağ düğümüne aktarımını sağlar. Bu hareketin gerçekleştirilebilmesi için hiyerarşik bir adresleme yapısı gerekmektedir. Ayrıca hiyerarşik sistem dataların hedef bilgisayara en etkili ve en kısa yoldan ulaşmasını da sağlar. Adresleme dinamik ya da statik olarak yapılabilir. Statik adresleme el ile yapılan adreslemedir. Dinamik adreslemede ise otomatik olarak ip dağıtacak örneğin DHCP gibi bir protokole ihtiyaç vardır. Bu katmanda harekete geçen bir datanın hedefine ulaşabilmesi için en iyi yol seçimide yapılır. Bu işleme Routing bu işlemi yapan cihaza ise Router denir. Router en basit tarif ile en iyi yol seçimini yapar ve broadcast geçirmediği için ağ performansını olumsuz etkilemez. Bu katmanda kullanılan protokollere de şu örnekler verilebilir; IP,ARP,RARP,BOOTP,ICMP. Mantıksal ağ adresini fiziksel makine adresine çevirir. Ağ, birden fazla düğümün bağlanabildiği bir ortamdır. Her düğümün bir adresinin olduğu, bağlı olan düğümlerin başka düğümlere veri iletimine izin veren ve sadece verinin içeriği ile hedef düğümün adresinin var olması koşuluyla başka düğümlere yönlendirilir. Eğer ağ katmanında çalışan bir düğümden, veri bağlantısı katmanında çalışan bir başka düğüme iletilen verinin boyutu fazla büyükse, ağ veriyi birkaç parçaya ayırır, parçaları ayrı ayrı gönderir ve gönderdiği düğümde bu parçaları tekrar birleştirir. Aynı zamanda böyle bir işlem yapmayıp hata raporu da gönderebilir.</p><p>Bu katmanda kullanılan protokollerden bazıları şunlardır;</p><p>IP<br>IPX<br>AppleTalk DDP<br>ARP<br>RARP<br>ICMP<br>RIP<br>EIGRP</p><p><strong>4. Katman: Taşıma / İletim Kanalı ( Transport Layer )</strong></p><p>Taşıma/iletim katmanı değişken uzunluklu veri dizilerinin(datagram) kaynaktan cihazdan hedef cihaza bir veya daha fazla ağ üzerinden servis kalitesini de koruyarak göndermeyi sağlar. Taşıma katmanı protokolüne örnek olarak, Internet Protocol(IP) üzerine inşa edilmiş olan Transmission Control Protocol(TCP) verilebilir.</p><p>Üst katmanlardan gelen her türlü bilgi(veri) taşıma katmanı tarafından diğer katmanlara ve hedeflere ulaştırılır.</p><p>Taşıma/iletim katmanı protokolü verilen bağlantı üzerinden gerçekleştirilen akış kontrolünü, paketlerin parçalara bölünüp birleştirilmesini ve hata kontrolünün güvenliğinden sorumludur. Taşıma katmanındaki bazı protokoller(Örneğin: TCP ve UDP) bağlantıya dayalıdır. Protokolün bağlantı temelli olması sayesinde taşıma katmanı, parçalara bölünerek gönderilmiş olan paketlerden karşı tarafa ulaşamamış olanların (böyle bir durumda datayı alan bilgisayar alamadığı paketleri yok edecektir ki önlemek için Taşıma Katmanı, ara bellekleme, tıkanıklıktan kaçınma ve pencereleme metodlarını kullanarak akışı sağlar.</p><p>Bu katmanda kullanılan önemli protokoller şunlardır:</p><p>TCP<br>UDP<br>SPX<br>RTP<br>SIP<br>H.323</p><p><strong>5. Katman: Oturum Katmanı ( Session Layer )</strong></p><p>Oturum katmanı, cihazlar arasındaki bağlantıları kontrol eder. Yereldeki ve uzaktaki bağlantıları kurabilir, yönetebilir ve sonlandırabilir. Oturum katmanı mesajlaşma kurallarından(full-duplex, half-duplex, simplex), uygulamalar arasındaki mesajlaşma kontrolünden, farklı birimlere gidecek verilerin gruplanmasından, mesajlaşmaya kalınan noktadan devam edilmesinden ya da yeniden alınmasından sorumludur. Oturum katmanı çoğunlukla uzak yordam çağrısını kullanan uygulama ortamlarında kullanılır.</p><p>Bu katmanda kullanılan servislere şu örnekler verilebilir;</p><p>Sockets<br>RPC<br>Netbios<br>NFS<br>AppleTalk ASP<br>SQL</p><p><strong>6. Katman: Sunum Katmanı ( Prensentation Layer )</strong></p><p>Bu katmanın en önemli görevi yollanan verinin karşı bilgisayar tarafından anlaşılacak şekilde çevrilmesidir.Bu sayede farklı programların birbirlerinin verisini kullanması mümkün olur. Sunuş katmanı uygulama katmanına veriler yollayarak bu veriler üzerinde düzenlemeler yapar.Ayrıca verinin şifrelenmesi açılması ve sıkıştırılması bu katmanda yapılır.</p><p>Kullandığımız formatların bazıları şunlardır;</p><p>GIF<br>DIVX<br>DOC<br>ASCII<br>EBCDIC<br>TIFF<br>JPEG<br>PICT<br>MPEG<br>MIDI</p><p><strong>7. Katman: Uygulama Katmanı ( Application Layer )</strong></p><p>Uygulama katmanı son kullanıcıya en yakın olan OSI katmanıdır. Yani hem OSI uygulama katmanı hem de kullanıcı doğrudan yazılımla,uygulamayla etkileşimde bulunur. Bu katman iletişim bileşenini yürüten uygulamayla etkileşime girer. Bazı uygulamalar OSI modelin kapsamı dışına çıkabilir. Uygulama katmanı sayesinde iletişim kuran kişiler tanımlanır, kaynak kullanılabilirliğine karar verilir ve senkronize iletişim gerçekleştirilir. İletişim kuran kişiler tanımlanırken kişilerin bir uygulama üzerinden veri göndermek için gereken kimliğine ve kullanılabilirliğin yeterli olup olmadığına karar verir. Kaynak kullanılabilirliğine karar verirken, uygulama katmanı ağın yeterli olup olmadığına ya da istenilen bağlantının var olup olmadığına karar vermelidir. İletişim senkronize edilirken uygulamalar arasındaki tüm iletişim, uygulama katmanı tarafından sağlanan iş birliğine ihtiyaç duyar. Bu katman uygulama ve son kullanıcı işlemlerini destekler. İletişimde bulunan kişiler ve servis kalitesi tanımlıdır, kullanıcı yetkilendirme ve gizlilik dikkate alınır ve de verinin sözdizimi ile ilgili kısıtlamalar da yine tanımlıdır. Bu katmandaki her şey uygulamaya özgüdür.</p><p>Kullanılan uygulama ve protokollerden bazıları şunlardır;</p><p>Telnet<br>http<br>web browser<br>NFS<br>FaceBook<br>ftp<br>SNMP<br>SMTP gateway</p><p><strong>Kaynaklar</strong>:</p><p>beyaz.net <br>Wikipedia<br>Medium / Mustafa Gündoğdu<br>Medium / Ali Sabri Sır</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=529cf5775a45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparison SSD / HDD]]></title>
            <link>https://medium.com/@dalvenjahx/comparison-ssd-hdd-5b997faf96d4?source=rss-e96e8dd1fcb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b997faf96d4</guid>
            <dc:creator><![CDATA[Emre Özyavuz]]></dc:creator>
            <pubDate>Sun, 12 Jul 2020 08:08:35 GMT</pubDate>
            <atom:updated>2020-07-12T08:18:06.923Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uqGvI3rhoB8K1z3JYNQZxA.jpeg" /></figure><p><strong>1.What is a Solid-State Drive(SSD)?</strong></p><p>What is SSD? The operating logic of SSDs, which we have heard frequently in recent years, is quite different from that of hard drives. On conventional hard drives, data is kept in sectors above the plates. These plates are rotated by the motors in the hard disk and read by the read / write head.</p><p>In SSDs, the data is stored in NAND flash chips. The memory chips in SSDs work just as fast as the Ram in our computers.</p><p>Of course, Ram’s and Flash chips have different working characters. Memory chips are divided into two main groups. Volatile Sdams that store short-term information and Flash chips that hold long-term Information (non volatile). The chip type used in SSDs is The Flash type as mentioned above.</p><p>The Flash chips used in SSDs are divided into two main groups. It will be useful to know these terms when buying products. These chips, called MLC and SLC, have various advantages and disadvantages against each other.</p><p><strong>1.2 How NAND Works?</strong></p><p>What we are going to address now is the working principles of NAND Flash memory technology on SSDs. We said on SSDs, because the NAND Flash technology can vary slightly according to the field in which it is used and can contain adaptations to them.</p><p>There are three basic bases for NAND Flash storage that we need to know. We can think of this as just like in algebra. Just as algebra has certain rules and others are built on it, so is NAND Flash technology. For example, whichever number we multiply by 0, the result is zero again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*2IzmcxDlhPQO-yFKUOVnEA.png" /></figure><p><strong>1.3 Reading and Writing</strong></p><p>Updating archives is greater complicated for SSDs. All the facts in a block want to be refreshed at the same time as any element of it is updated. The information at the ancient block is copied to a particular block, the block is erased, and the documents is rewritten with the changes to a new block.<br> Each time you ask your laptop to retrieve or replace statistics, the SSD controller looks at the tackle of the documents requested and reads the cost status.<br> <br> When the stress is idle, a procedure acknowledged as garbage series goes via and makes positive the data inside the vintage block is erased and that the block is unfastened to be written to again.<br> <br> There is every other method, referred to as TRIM, that informs the SSD that it can ignore rewriting positive information whilst it erases blocks. Because there are a finite range of instances any block might also be rewritten, this is an indispensable method that prevents untimely put on on the storage drive.<br> <br> To similarly store you put on on the power, there is an set of policies to make positive that every block in the strain receives an equal extent of read/write processes. This device is referred to as put on leveling and takes vicinity routinely as the pressure is working.<br> <br> Because the read/write approach requires data movement, SSDs are commonly overprovisioned with garage; there may be always a sure quantity of the energy that is not cited to the running system, and no longer on hand to the user. This approves room for the energy to transport and delete objects except affecting the universal storage capacity.</p><p><strong>2. Hard Disk Drive ( HDD )</strong></p><p>Hard Disk Drives, or HDD in techno-parlance, had been round for donkey’s years relative to the technological know-how world. HDDs have been first delivered via IBM in 1956 — yes of us that is nearly 60–12 months historic technology, thank goodness vacuum tubes for TVs didn’t final so long! An HDD makes use of magnetism to save information on a rotating platter. A read/write head floats above the spinning platter reading and writing information. The faster the platter spins, the faster an HDD can perform. Typical pc drives these days spin at both 5400 RPM (Revolutions constant with Minute) or 7200RPM, though a few server-based completely platters spin at up to 15,000 RPM!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*fnKmE9O5PZ_8SikIU_i7HQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*9qZOZ8Oyj9tOYGQdYrWDLA.png" /></figure><p>The fundamental gain of an HDD is that it is capable to storing lots of facts cheaply. These days, 1 TeraByte (1,024 gigabytes) of storage is now not wonderful for a computer difficult drive, and the density continues to grow. However, the rate in line with gigabyte is tough to calculate now-a-days due to the fact that there are such a lot of instructions to consider, even though it is a long way protected to say that each one HDDs are considerably more cost-effective than SSDs. As a comparison, the famous WD Black (1TB) is going for roughly $69 on most web sites even as the OCZ Trion one hundred (960GB) and Samsung 850 EVO (1TB) SSDs go for $199 and $319 respectively, three to 5 instances the cost of the WD Black. So if you want cheap storage and hundreds of it, the use of a widespread challenging force is truely the larger attractive way to cross..</p><p><strong>2.1 SSD Vs HDD Comparison</strong></p><p>Before comparing HDDs and SSDs, it is necessary to open up a good deal of what is not what it is, so that we can perform the comparison correctly within this framework. First of all, for people who have no knowledge of the introduction of HDD and SSD storage units with different technologies, let’s say. It’s the memory of our computers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*SLZqPGpPWWPT6SZdzSqN-g.png" /></figure><p>If we start with HDD, the full expansion of Hard Disk Drive is the storage unit that we have used for many years and stored the information that is permanent on the computer. In fact, there are two types of memory available in our computers, one is Ram, where temporary information is stored, and the other is hard drives, where information is stored continuously without being temporary.</p><p>Now it’s time to do some comparisons and decide which may be quality for your man or girl wishes — SSD or HDD? The satisfactory way to examine gadgets is a desk with a aspect by using aspect evaluation of objects whereby a inexperienced container suggests an advantage:</p><p>An HDD might be the proper desire if:</p><p>Ø You need plenty of storage ability, up to 10TB</p><p>Ø Do not want to spend much Money</p><p>Ø Do not care too much about how speedy a pc boots up or opens programs — then get a tough drive (HDD)</p><p>As SSD is probably the proper choice if:</p><p>Ø You are inclined to pay for quicker performance</p><p>Ø Do not toughts confined storage potential or can work around that (though consumer SSD now move as much as 4TB and organisation run as high as 60TB)</p><p>If we refer to the operating system and technology of <em>SSD</em>, the full name is <strong>Solid State Driver</strong>. SSDs functionally perform all the operations of standard hard drives, but they do not contain any rotating disks, read and write heads. <em>NAND</em> memory consists of memory that is completely integrated with the circuit. The information is written or read into these memories as soon as 0.01 ms. Although they are similar to today’s Ram’s, they are stripped of <em>RAM’s</em> because they can store information permanently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*Pc4I8mg3KJW9QLSnl0rYUw.png" /></figure><p><strong>2.2 How Hard Drives Work?</strong></p><p>Looking at the basis of HDDs, it is seen that they all have the same structure. A HDD consists of the following parts with a whole. Firstly they have one or more number of plates that are being stored given, secondly they have literacy heads. Then there are the literacy heads and the plates and the motors that serve to provide the movement in between. Finally, there is a control card that is responsible for the control on the HDD, which holds the circuits on it. Today, classic desktop computers can be purchased with a HDD in the range of 300GB to 1TB. Data loaded onto HDDs is stored as the smallest storage package named byte.</p><p>It’s important to give this information here. Those who are closely related to the computer world know that 1 byte consists of 8 bits. When viewed like this, you can say bit as the smallest unit. But 1 bit makes no sense in the sense of storage. Any data written on the HDD is packaged in bytes Let’s take a look at how it works with the parts in the <strong>HDD</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*ZcDai8-zFffQEGTpCR23Hg.png" /></figure><p><strong>2.3 Reading and Writing</strong></p><p>When buying a hard disk, there are 3 main features to be looked at in order to comment. These are the turning speed of plates, data transfer rates and access times. The number of disks on the hard disk and the density of the data on the plates determines the capacity of the hard disk.</p><p><strong>Spin speed:</strong> the spin speed of the plates on the Hard disk. It’s like there’s no IDE connected disk left today. But on IDE disks; the return numbers were known as 5400 and 7200 RPM. The RPM concept also stands for Rotates Thu Second, the speed of rotation per minute. On SCSI disks, however, this rotation rate is 15,000 rpm.</p><p><strong>Access time</strong>: the amount of time that the read and write head on the Disk reaches any point. Access times are 10 ms on average on IDE disks and lower on SCSI disks.</p><p><strong>Data transfer rate</strong>: a name given to the amount of data a hard disk transfers in a second. It can vary according to the properties of the disk being used and according to the interface of the disk.</p><p><strong>3.</strong> <strong>Advantages and disadvantages</strong></p><p>When we look at both disk formats perform the same operation. They write, read, store our data, and both disk formats are capable of performing these operations properly. But there are important differences between them, of course, and these are sometimes advantages and sometimes disadvantages. Let’s talk about them a little bit.</p><p><strong>Price:</strong> HDDs have been among us for a very long time since they are yet to develop new SSDs can be much more convenient on the basis of price. For example, today’s Turkish market average 200 Turkish lira 1TB capacity HDD can buy, the same in the Turkish market 1TB capacity SSDs oratlamaya 2500 Turkish lira need to pay. If you always say I get 200 pounds of SSD 120GB will be the highest capacity you can get at this price.</p><p><strong>Maximum capacity</strong>: another difference between the two disk formats is the storage size. Today, 3.5 “ HDDs can now offer a maximum capacity of up to 10TB. However, SSD technology is new and production costs are too high because of this size 4TB levels to own an SSD of this size need to invest in the house plot.</p><p><strong>Speed:</strong> we came to the most garish part of the job in between the biggest advantage or disadvantage. Speed. Today’s standard hard drives offer a maximum rotation speed of 7200RPM. With this rotation speed, the maximum read and write speed we can get is 120mb/s. When we look at the SDD side, we see that the mountains are row by row. Maximum read-write speeds of 2700mb/s are also seen in SSDs, of course, the connection interface and memory preference is also important. However, even the 120GB SSD we gave the example above 530MB/s read, 310MB / s write speed has. I mean, throw me off the minaret, get down, hold me as fast as you can…</p><p><strong>Robustness:</strong> HDD disks contain moving parts in the hardware can not afford more shake. They are therefore more likely to deteriorate faster than SDDs. However, SSDs do not have moving parts in the halay handkerchief can be used with peace of mind. We still don’t recommend it.</p><p><strong>Availability</strong>: although SSD models are becoming more and more common today, the amount of cake HDDs have is quite large. Because today, even the oldest motherboards can easily use HDD. Hardware and Sunday share so HDD still owns the throne and our opinion will not change for many years.</p><p><strong>Size</strong>: disc manufacturers have been able to reduce HDDs up to a maximum size of 2.5&quot; so far. Because there is a rotating layer in HDDs, this layer has to be reduced to extra. In fact, manufacturers would have taken a step towards this but NAND memories, which have come into our lives with smartphones, have been ahead of this step. This is why SSDs can be as small as they want, because there are no obstacles in their way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*iNihR8Dk7G9ZSSDgGfhePQ.png" /></figure><p><strong>Power and sound:</strong> even if you use the latest HDD today, you can easily hear that “vuik” sound that comes out of writing and reading. Because there’s something going on inside. However, SSDs are very understanding about this issue because they do not hear the slightest sound. When we get to the power used, we see that they need a specific power on both disks. However, SSDs do not perform any consumption when they are not in use, i.e. in standby mode. So they don’t get warm.</p><p><strong>Conclusion</strong>: when we look at Price, capacity and availability, HDDs are the winners of this race. At least for now. However, when it comes to speed, efficiency and durability, SSD takes you by storm. This is why both drives have advantages over each other.</p><p><strong>3.</strong> <strong>Who should choose SSD and HDD?</strong></p><p>In the following table, we will share who will choose which storage unit according to usage types. But before that, my advice is to use an SSD if your budget is sufficient. You can even use a very low capacity SSD to install Windows. You’ll see the difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*hTW134c2_ByfRULmaADE0g.png" /></figure><p><strong><em>So who should use what?</em></strong></p><p>· <strong>I am the download monster, movies, music, multimediasız people who say</strong>: we welcome you to the HDD side, 4TB and even higher capacity hard drives will be a suitable solution for you.</p><p>· <strong>Those who say that both ayranım spilling and my budget be shaken</strong>: we can take you to the SDD wing. Mentioned 200 pounds 120GB capacity with an SSD think you can take out your daily work.</p><p>· <strong>Graphics, video and photographers</strong>: we’d like to get you to the corner of SSD, but your drives will wear out faster because you’ll be constantly writing and deleting data. According to SSD, upgrading the HDD may be more budget-friendly.</p><p>· <strong>General users</strong>: and we have come to our largest community. As we mentioned in the beginning you should use a low capacity SDD next to a large capacity HDD you will install your system. But if your job is simply to surf the internet and perform other simple level operations, you can turn entirely to SSD.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b997faf96d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>