Posts Tagged ‘Over’

Ftps (ftp Over Ssl) Vs. Sftp (ssh File Transfer Protocol): What to Choose

Wednesday, January 20th, 2010

File transfer over the network using FTP protocol (certain by RFC 959 and later additions) takes roots in year 1980, when the first RFC for FTP protocol was in print. FTP provides functions to upload, download and delete files, make and delete directories, read directory contents. While FTP is very standard, it has certain disadvantages that make it harder to use. The major drawbacks are lack of the uniform format for directory listing (this problem has been partially solved by introducing MLST command, but it’s not supported by some servers) and presence of the lesser connection (DATA connection). Security in FTP is provided by employing SSL/TLS protocol for channel encryption as certain in RFC 2228. The open version of FTP is called FTPS.

In UNIX systems a further security standard has grown. It was SSH family of protocols. The primary function of SSH was to secure remote bombard access to UNIX systems. Later SSH was extended with file transfer protocol – first SCP (in SSH 1.x), then SFTP (in SSH2). Version 1 of the SSH protocol is outdated, insecure and generally not recommended for use. Consequently SCP is not used anymore and SFTP gains popularity day by day.

“SFTP” abbreviation is evenly mistakenly used to specify some kind of Secure FTP, by which people most evenly mean FTPS. A further (similar) mistake is that SFTP is thought to be some kind of FTP over SSL. In fact SFTP is an abbreviation of “SSH File Transfer Protocol”. This is not FTP over SSL and not FTP over SSH (which is also technically possible, but very rare).

SFTP is a binary protocol, the newest version of which is standardized in RFC 4253. All commands (requests) are packed to binary messages and sent to the server, which answers with binary comeback packets. In later versions SFTP has been extended to provide not just file upload/download operations, but also some file-system operations, such as file lock, symbolic link creation etc.

Both FTPS and SFTP use a combination of asymmetric algorithm (RSA, DSA), symmetric algorithm (DES/3DES, AES, Twhofish etc.) and a key-exchange algorithm. For certification FTPS (or, to be more precise, SSL/TLS protocol under FTP) uses X.509 certificates, while SFTP (SSH protocol) uses SSH keys.

X.509 certificates include the public key and certain information about the certificate owner. This information lets the other side verify the integrity of the certificate itself and authenticity of the certificate owner. Verification can be done both by computer and to some extent by the human. X.509 certificate has an associated confidential key, which is usually stored separately from the certificate for security reasons.

SSH key contains only a public key (the associated confidential key is stored separately). It doesn’t contain any information about the owner of the key. Neither it contains information that lets one reliably validate the integrity and authenticity. Some SSH software implementations use X.509 certificates for certification, but in fact they don’t validate the total certificate chain – only the public key is used (which makes such certification incomplete and similar to SSH key certification).

Here’s the brief list of Pros and Cons of the two protocols:

FTPS

Pros:

Usually known and used

The communication can be read and understood by the human

Provides air force for server-to-server file transfer

SSL/TLS has excellent certification mechanisms (X.509 certificate features)

FTP and SSL/TLS support is built into many internet communication frameworks.

Cons:

Doesn’t have a uniform directory listing format

Requires a lesser DATA channel, which makes it hard to use behind the firewalls

Doesn’t define a standard for file name character sets (encodings)

Not all FTP servers support SSL/TLS

Doesn’t have a standard way to get and exchange file and directory attributes

SFTP

Pros:

Has excellent standards background which strictly defines most (if not all) aspects of operations

Has only one connection (no need for DATA connection)

The connection is permanently open

The directory listing is uniform and apparatus-readable

The protocol includes operations for consent and attribute manipulation, file locking and more functionality

Cons:

The communication is binary and can’t be logged “as is” for human reading

SSH keys are harder to manage and validate

The standards define certain things as optional or recommended, which leads to certain compatibility problems between different software titles from different vendors.

No server-to-server copy and recursive directory removal operations

No built-in SSH/SFTP support in VCL and .NET frameworks

What to choose

As usually, the answer depends on what your goals and requirements are. In general, SFTP is technologically superior to FTPS. Of course, it’s a excellent thought to implement support for both protocols, but they are different in concepts, in supported commands and in many other things.

It’s a excellent thought to use FTPS when you have a server that needs to be accessed from personal devices (smartphones, PDAs etc.) or from some specific operating systems which have FTP support but don’t have SSH / SFTP clients. If you are building a custom security solution, SFTP is probably the better option.

As for the client side, the requirements are certain by the server(s) that you plot to connect to. When connecting to Internet servers, SFTP is more standard because it’s supported by Linux and UNIX servers by default.

For confidential host-to-host transfer you can use both SFTP and FTPS. For FTPS you would need to search for a free FTPS client and server software or buy a license for commercial one. For SFTP support you can install OpenSSH package, which provides free client and server software.

Developer tools

If you are a software developer and need to implement file transfer capability in your application, you will be searching for the components to do the job.

In .NET you have built-in support for FTPS in .NET Framework (see FtpWebRequest class). But functionality of this class is severely limited, especially in SSL/TLS control aspect.

.NET Framework doesn’t include any support for SSH or SFTP.

In VCL you have a selection of free components and libraries which provide FTP functionality. When you add OpenSSL to them, you can get FTPS for free. If you don’t want to deal with OpenSSL DLLs, you can use one of the commercially available libraries for SSL and FTPS support. Again, there are no freeware SFTP components available for VCL.

If you use a tool with which you have to use ActiveX controls, you need to search for commercial FTPS or SFTP controls. No free controls are available.

SecureBlackbox library provides both FTPS and SFTP support for .NET, VCL and ActiveX technologies.

Enhance your visibility with Best SEO Techniques over the Internet

Wednesday, January 6th, 2010

Search Engine Optimization (SEO) is the process of designing and indexing a website for getting the highest possible rankings in all the major search engines for selected keywords or key phrases. All webmasters want to gain excellent rankings of the website in major search engines such as Google, yahoo and MSN.A excellent optimized website can receive the expected visitors, if it is visible on the internet. The design of the website should be appealing and user friendly manner. For getting excellent ranking in search engines, there are some best SEO techniques giving here. There are some SEO air force provided by many professionals but some websites’ owner cannot meet the expense of. So these tips may be helpful to you for getting high ranking and sound knowledge about optimization of your websites.First step of optimization of the site is Meta tags. Meta tags describe the page information to the search engine spiders. It includes title tags, keywords, description, key phrases, and header tags. Title tags are made of main keywords and focus the main features of the site. Description is the summary of the webpage. H tags are describes as h1, h2 and h3 for main title, sub title and vital part of the content. Alt tags are used for images of the page.Content also plays a major role in the websites. There should be fresh and feature content of the page. Your content should be keywords rich but there should be no more keywords density in the webpage.Link building is an bonus process of optimizing the site with the help of getting back links to your site. The internal links will be helpful for your indexed pages in search engines. Reciprocal or two way link building are very effectual for the site. Pick the right keywords for targeting which will be helpful for high ranking. Make sure targeted keywords should be in the title of the page.Navigational links and JavaScript should be at the bottom or the right side of the page. The reason is that search engine read a website from left to right and top to bottom as an English character “E”. If you use the best SEO techniques, then your website will reach a higher amount of excellence by crossing all the barriers. The website promoting is not more hard task but a hard work is very much necessary. It even depends on the originality of the information posted by you and the resources considered by you.

How Does Ssl Fit Into the Over Scheme of Internet Security?

Saturday, January 2nd, 2010

Internet has become an integral part of our life. Most of us prefer to do maximum amount of transactions on the Internet. While doing many of these transactions, we tend to pass on very sensitive information like credit card numbers, credential information and so on, on the Internet. We permanently want to ensure that this sensitive information along with any other related information is kept secret while we use the Internet. One best way to ensure that all online transactions are secure is to make sure that the website consists of SSL certificates.

SSL is the fleeting form of secure socket layer. Netscape produced SSL protocol. SSL certificates are used usually in the Internet transactions to make them secure. Normally, this technology is used to encrypt vital information between the web servers and the client’s web browser by establishing an encrypted and secure link. This helps in making the information of the transaction confidential and secure. Millions of Internet transactions that happen everyday are using this technology to their advantage.

These SSL certificates are not only vital from the user perspective but they are also vital from the business perspective. Many of today’s online businesses need to collect so much of sensitive information from the customers. Just like in the case of an online payment in which you question for very sensitive information, which includes credit card details, address and so on. To make sure that your customer believes your website and submits his information, you must have a SSL certificate for your website. These SSL certificates provide your site with the certificate that it is reasonably secure to do any of the transactions that they are intend to do. Hence, SSL certificates in crease your business and its brand in a very huge way, frankly.

Some of the leading SSL providers include; Verisign, Rapidssl, Geotrust, Instantssl, and XRamp and many more. www.ssl.com now carries all these major brands of SSL certificates. You can get fantastic information regarding SSL certificates here. You can find which certificate best suits your business, if you are a business owner or you can find which certificate makes your transactions more secure, if you are an online user.

WordPress Tutorial – Put Text Over Image – Image Behind Text

Monday, October 26th, 2009


This WordPress tutorial shows how to place text on top of an image, or, place a further way, how to set an image behind text. The HTML code works on any web page, not just in WordPress.