• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Password Protection with htaccess on Rackspace Cloud Sites

By Abhishek Ghosh April 3, 2013 2:44 am Updated on April 3, 2013

Password Protection with htaccess on Rackspace Cloud Sites

Advertisement

Password Protection with htaccess on Rackspace Cloud Sites needs few extra steps to do otherwise the method is same that is normally done for any Apache2 webserver. Rackspace Cloud Sites is Application Platform as a Service (aPaaS) primarily targeted for hosting PHP-MySQL based web softwares including CMS and blogging softwares. Password Protection with htaccess on Rackspace Cloud Sites is actually not difficult, but for a new user it might take some time find it out. Here is how you can lock any folder or the root of domain hosted on Rackspace Cloud Sites with username and password.

 

Password Protection with htaccess on Rackspace Cloud Sites : Basics

 

There are many open source and free web softwares available on Github, installing them you can generate the .htaccess code if you want to use the feature and generate other .htaccess codes frequently. However, for the most; that much work is not needed.

The basic is that; the .htaccess will refer to a folder where the .htpasswd file will be. This .htpasswd file has this format to save the user name and password :

Advertisement

---

 

Vim
1
username:password

 

But what will happen if the .htaccess itself get hacked ? There will be no value of protection. So, that step must be done by adding allow / deny rule, see this guide :

 

Vim
1
http://wptidbits.com/wptidbits/21-most-popular-htaccess-hacks-for-wordpress/

1
 

Password Protection with htaccess on Rackspace Cloud Sites : Steps

There are three steps. We are taking that, you are using WordPress or some kind of CMS. Keep in mind, URLs with Query mark can escape this rule in case of WordPress. So, pretty urls must be working. Still there will be some URLs, which will escape. What we want to say, this is never a fool proof process. Except token based access control, it is not possible to secure in that way, still it does the thing you want. As you will need to create two dot files; for Windows OS, you can follow this method to create dot files. Or you can edit existing .htaccess file using Gedit. For Ubuntu or any other Linux, obviously you can easily create the dot files, for OS X you can use TextWrangler or any such code Editor. Obviously, there is Gedit for OS X too. The needed two files name are :

Vim
1
.htaccess

Vim
1
.htpasswd

 

Now, if you do not want to use own hosted software to create the required codes; you can use this website’s online .htaccess Password Generator :

 

Vim
1
http://tools.dynamicdrive.com/password/

 

You will see, they are asking in point 2 :

 

Path to .htpasswd file relative to your server’s root directory

 

This is actually the Linux path. There are many ways to get this path in case of Rackspace Cloud Sites, as basically it is not configured like normal web server. First, if you create a php file and place it in the required directory and execute it on your browser like we do for our WordPress Plugin development or in case of WordPress, you will get in some Plugin’s info page; for example in WP Super Cache settings page :
 

Password Protection with htaccess on Rackspace Cloud Sites

 

Or officially you can find this on  your Rackspace Cloud’s Control Panel’s > Cloud Sites > Click Website Link > Features Tab :

 

Password Protection with htaccess on Rackspace Cloud

 

Abhishek-Ghosh Tagged With iquidweb cloud sites htaccess

This Article Has Been Shared 586 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Password Protection with htaccess on Rackspace Cloud Sites

  • Installing WordPress on Free Cloud VPS from Host1Free

    Installing WordPress on Free Cloud VPS from Host1Free will follow the same principle as installing on any server with root access from Command Line Interface.

  • Installing WordPress on Rackspace Cloud Server with Cloud Database

    Installing WordPress on Rackspace Cloud Server with Cloud Database can give you a good performance with scalable and economically best solution. Simple Guide.

  • Self Hosted WordPress on Cloud Server for Dummies

    Self Hosted WordPress is itself a scary phrase to a non-tech person and add Cloud Server on it. Here is Very Easy Guide to under Self Hosted WordPress.

  • Rackspace Cloud FTP Guide

    Rackspace Cloud FTP Guide covers both the FTP / SFTP for Rackspace Cloud Sites and Rackspace Cloud Server.Here are also tips and tricks for Rackspace Cloud FTP.

  • Installing Gitlab on Rackspace Cloud Server

    Installing Gitlab on Rackspace Cloud Server using a single server Debian instance with 1 GB RAM is quite easy. Here are the steps with commands.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avatarweebly.com says

    August 24, 2013 at 6:21 am

    This post gives clear idea for the new viewers of blogging,
    that really how to do running a blog.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Password Protection with htaccess on Rackspace Cloud Sites," in The Customize Windows, April 3, 2013, March 28, 2023, https://thecustomizewindows.com/2013/04/password-protection-with-htaccess-on-rackspace-cloud-sites/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT