{"id":561,"date":"2021-07-05T11:56:23","date_gmt":"2021-07-05T11:56:23","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=561"},"modified":"2021-07-05T12:00:57","modified_gmt":"2021-07-05T12:00:57","slug":"securing-ftp-access-on-vps-reseller-hosting-accounts","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/","title":{"rendered":"Securing FTP Access On VPS &#038; Reseller Hosting Accounts"},"content":{"rendered":"<p>Most of the days several reseller web hosting and vps hosting accounts are begin affected by unauthorised FTP uploads. not like vps and reseller hosting, on cpanel hosting accounts we tend to are responsive to the domains which are being created and might be altered directly from the systems. However, it&#8217;s impossible with the vps and reseller hosting accounts because the clients has the flexibility to add any number of domains.<\/p>\n<p>However, we can offer a method so as to secure FTP access to your web site for number of IP addresses or a complete subnet.<\/p>\n<p>Primarily, you need to determine your own IP address 1st. One amongst the best way to find your ip address is to visit www.whatismyip.com web site. Once you visit this web site it&#8217;ll show your ip address like \u201cYour IP Address Is: xxx.xxx.xxx.xxx\u201d. This is often all you would like to determine if you&#8217;re on a static IP address. However, if you&#8217;re allotted with a dynamic IP address, it suggests that your ip will keep on changing, thus you&#8217;ll need to know the ip addresses you&#8217;d be allotted.<\/p>\n<p>If you&#8217;ve got a static ip address allotted, visit the \u201cWhatismyip\u201d web site and click on on the \u201cIP WHOIS Lookup\u201d link on the left of the page and then click the \u201cWhois Lookup\u201d button. You&#8217;ll see a detailed information about your ip address on the center of the page. in this information, you ought to see one thing like this:<\/p>\n<blockquote><p><em>inetnum : 128.0.0.1 \u2013 128.0.0.53<\/em><\/p><\/blockquote>\n<p>The above is the range of the IP addresses you could be assigned.<\/p>\n<p>Now, as you have the possible ip addresses, you can proceed with the steps as follow.<\/p>\n<p>On your system, create a file .ftpaccess in a text editor (make sure you put the (.) dot at the beginning of the file name).<\/p>\n<p>If you have a static ip address assigned and put the following content in that file:<\/p>\n<blockquote><p><em>&lt;Limit ALL&gt;<br \/>\nDenyALL<br \/>\nAllow 128.0.0.1<br \/>\nAllow 1.2.3.4<br \/>\n&lt;\/Limit&gt;<\/em><\/p><\/blockquote>\n<p>The line \u201cAllow 128.0.0.1\u201d should be left in the file as a backup in order to enable you the access to the .ftpaccess file through the Filemanger in the Admin area.<\/p>\n<p>If you are assigned with a dynamic ip address, then you will have to Allow the possible range of ip address based on the example \u201c<strong>inetnum: xxx.xxx.xxx.xxx \u2013 xxx.xxx.xxx.xxx<\/strong>\u201d. The file contents will look like this:<\/p>\n<blockquote><p><em>&lt;Limit ALL&gt;<br \/>\nDenyALL<br \/>\nAllow 128.0.0.1<br \/>\nAllow 1.2.3.<br \/>\nAllow 1.2.4.<br \/>\nAllow 1.2.5.<br \/>\nAllow 1.2.6.<br \/>\nAllow 1.2.7.<br \/>\n&lt;\/Limit&gt;<\/em><\/p><\/blockquote>\n<p>Now, as you&#8217;re done with creating the .ftpaccess file, you simply have to upload that file into the httpdocs, httpsdocs and cgi-bin folders on the server. It&#8217;ll limit all the ip addresses attempting to access your web site via FTP accept those ip addresses that are Allowed within the .ftpaccess file.<\/p>\n<p>The above change won\u2019t stop blocks on SFTP or WinSCP, if you&#8217;re attending to use only these protocols you may create a file with the following contents.<\/p>\n<blockquote><p><em>&lt;Limit ALL&gt;<br \/>\nDenyALL<br \/>\n&lt;\/Limit&gt;<\/em><\/p><\/blockquote>\n<p>The lines shown above will restrict any FTP access to your web site. This tutorial is applicable just for the Reseller web Hosting and VPS Hosting accounts. If you&#8217;re not aware of above, you&#8217;ll simply raise a ticket at our support desk and leave the rest on our technical experts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the days several reseller web hosting and vps hosting accounts are begin affected by unauthorised FTP uploads. not like vps and reseller hosting, on cpanel hosting accounts we tend to are responsive to the domains which are being created and might be altered directly from the systems. However, it&#8217;s impossible with the vps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-reseller-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Securing FTP Access On VPS &amp; Reseller Hosting Accounts - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Securing FTP Access On VPS &amp; Reseller Hosting Accounts - OWS KB\" \/>\n<meta property=\"og:description\" content=\"Most of the days several reseller web hosting and vps hosting accounts are begin affected by unauthorised FTP uploads. not like vps and reseller hosting, on cpanel hosting accounts we tend to are responsive to the domains which are being created and might be altered directly from the systems. However, it&#8217;s impossible with the vps [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-05T11:56:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-05T12:00:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\",\"name\":\"Securing FTP Access On VPS & Reseller Hosting Accounts - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-07-05T11:56:23+00:00\",\"dateModified\":\"2021-07-05T12:00:57+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/securing-ftp-access-on-vps-reseller-hosting-accounts\/\",\"name\":\"Securing FTP Access On VPS &#038; Reseller Hosting Accounts\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":3,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/561\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}