CHMOD - Undertanding File Permissions on a Unix-Based Server
The basic command for changing file permissions in unix based operating systems is the 'chmod' command. This command is executed with a set of parameters after it. With most FTP clients, you can simply select the filename you want to change the permissions of, right click, and choose the chmod command.
There are three main groups of permissions when dealing with the chmod command. The three groups are yourself or owner, your unix group, and everyone else. A typical chmod command would look like this - 'chmod 755' This allows you to add, remove or rename files as well as read or edit a file. It also specifies that your unix group and everyone else can only read and edit the file in question. They can't add, delete, or rename the file.
How the numbers in the chmod command work
There are three types of permissions that can be given to a file. They are read, write, and execute. The read permission is assigned a value of 4, the write permission is assigned a value of 2 and the execute permission is assigned a value of 1. So when a chmod command specified the digit 7 as the first number, it means that all three types of permissions are to be assigned to it. If a party is assigned a value of '0' then it means it has no rights whatsoever to a file. '6' tells the server that the user can read and write to the file but can't execute it. I think you get the idea.
Common permissions to set
Most of your html files will do fine with a permission of 644. Most script files will need a permission of 755. Any configuration files in a script package will often need a file permission of 777. Be very careful about assigning a file permission of '777' for everyone. With this permission, it means that anyone who gains access to your server will be able to add, remove, rename, read or edit the file. It is always a good idea with security in mind to assign the least amount of permissions necessary to get the job done.
An FTP client can keep things simple
Most people on shared servers will not have access to a command line to be able to use the chmod command. For most people, changing file permissions will be done through an FTP client. To do this, right click on the file you want to alter, and choose the chmod command. You will usually get a popup that will show nine checkboxes. The will be arranged in three rows. On the left you will usually see Read, Write, and Execute for the row headings. You can accomplish the same thing as typing in the numbers above by clicking on one, two or three boxes for each party. Once you're done, you click the apply or ok button and the file permissions will be changed.
If you keep in mind that you need to always go with the most restrictive file permissions possible that still allows your files to execute, and that there are three parties to define permissions for, you'll do fine. The three parties again are the owner, group, and everyone else.
This article was written by Joe Duchesne, president of http://www.yowling.com/, a web hosting company that specializes in helping online business owners increase their website traffic. Copyright 2004 Yowling. Reprint Freely as long as you link back to my website from this resource box.
Choosing Your Web Hosting Package
General rule of thumb is not to sign up for yearly web hosting plans. Instead, get monthly plan where you can unsubscribe from on the second month when you are not happy with the service. That is, if you ended up with an unreliable web hosting company in the first place.
Windows vs Linux : Hosting
The Basics of Linux & Windows :
Uptime Guarantee ? Good Idea?
When looking for a Web Host there are lots of factors that come into play. Usually the deciding factors are price and bandwidth. A common overlooked item is the uptime guarantee. This is the percentage of time your account will be up and running What do these numbers really mean? If we look at these percentages and convert them into the amount of time your site is going to be down we get some very telling information. The chart below lists the uptime gurantee percentage and how that equates to time.
Demand Unlimited Auto-Responders with Your Hosting Accounting
AutoResponders are nifty scripts that run in your web server 24/7 serving immediate email responses to questions, support and sales. Think about this, your customer comes to your website and spends a round 200$ to get your product. And after the payment they don't get back any response for the next 10 hours, would they like it? No, and this is more damaging if they have requested some additional pre-sales information and don't receive any notification in the next 1 hour. In this Internet world, your competitor is just a click away. Your customer goes back to the search results and clicks the next website that gives a similar product. Lost sales, and more money in your competitor's hands! This is twice the loss as the competitor is going to spend a percentage of the money in advertising the product or building a better product. Auto responders help reduce this possibility by carefully scripting the follow up messages based on the incoming queries your pre-sales information can be safely and securely delivered without delays. This translates into better sales.
Changing to a New Host? No More Worries!
John's online business is expanding. His customers are increasing day by day. However, he feels very frustrated at the moment as he finds his website is 'down' about every 4th day. Whenever he calls up the support team of his web host, he gets the same old answer that his problem will be rectified soon. If the problems do persist it will surely hamper his business. He has been with his present hosting provider for the last year but now he feels he has to find a new web host as soon as possible because his present hosting package is also not able to meet up with his growing demands. This is not a one-off occurrence that has happened only to John, it happens with many people like him. Changing the web host might become a cumbersome task if John and other people like him don't know the correct procedure of doing it. So, let's have a look at the following easy and simple steps:
Finding the Right Web Host
Choosing the right Web Hosting service for your website can be a little bit confusing. There's so many choices out there and many people aren't exactly sure what they should be looking for.
Web Site Design and Hosting
If you're looking for a professionally designed web site at cheap, bargain basement prices, you may find it as close as your web hosting provider. Many companies that host web sites also offer web design services to their customers at low prices. Some of the best deals to look out for are:
The 14 Point Web Hosting Checklist
How To Select A Web Hosting Company
Choosing The Wrong Server Will Literally Make Or Break You
Choosing the right web server will be one of the most important decisions you will ever make with your online business. Why? Because the web server you choose will literally make or break your online business.
How to Get Better Technical Support
Whenever you have a technical question that needs answering, you want that answer as fast as possible, right? In the instantaneous world of the internet, patience has become a rare commodity, and the time you spend unable to send or receive email or waiting for your website to come back online can mean lost revenue. If you want to get a timely response from your support technician, there are things you can do as a customer to speed up the process:
Overselling Web Hosting: What Does It Mean To You?
Overselling is a big trend in the web-hosting world at the moment. It's an easy way to get more out of your servers than normally is possible. The basic idea of overselling is that the majority of your clients are only going to use a fraction of the resources allocated to them so there's going to be a lot of wasted bandwidth and space. Overselling involves taking a gamble and selling more than you can handle assuming that the unused resources will cover it.
How To Build A Successful Hosting Company
There are a couple of key things to look at when starting a hosting company. Basically there are four major factors to look at provided you have the servers, and technical abilities.
Fun with DNS: Three Useful Commands
The DNS is a distributed, hierarchical database where authority flows from the top (or root) of the hierarchy downward.
Confessions and Tips from a Top Web Hosting Salesman
Have you ever gone car shopping with a former car salesperson? Their industry and sales knowledge is powerful information vital to the average buyer. Gaining their street smarts and savvy gives the buyer an edge. This "edge" can be the difference between getting good value and being taken advantage of.
Setting Up Your First Web Hosting Account
How to Find Good Web Hosting for Your Site!
When building your first site the main things that you will probably think about is what types of content you will be adding to your site, how you are going to get visitors to your site and how you are going to generate good revenue from your site.
Small And Medium Businesses Embrace Servers Running Linux
Although we are aware of Linux adoption by large enterprises, most people do not know that there are sizeable numbers of installations in small and medium businesses (SMBs) as well. This base is set to grow as server vendors lob tailor made Linux servers and applications at SMBs.
Web Hosting - How To Choose The Right Provider For You
Thousands of companies, tens of thousands of different plans and only a few of them are really suitable for your web site and for your online needs. This is what you are confronted with when choosing a web-hosting provider.
Unlimited Bandwidth in Web Hosting
Good Web Hosting ? What Is It?
With hundreds of web hosting companies to choose from today it can be hard to know which ones are actually worth using. Below is a guide of things to look for in a web host: