• 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 382 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021
  • What is a Loosely Coupled System? January 17, 2021
  • How To Repack Installed Software on Debian/Ubuntu January 16, 2021

 

About This Article

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

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

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

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

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