Sunday, March 29, 2009

Antivirus Internet Security Basics: How Viruses Get on a Computer

Recently a computer security expert stated that the only way to keep a computer 100% safe was to never turn it on. It turns out this inaccurate and a little misleading. A computer used solely to type up and print out documents, never connected to the Internet and that never received files transferred from some other computer, could in fact be a useful 100% secure computer system. This brings us to the two main ways viruses and other malware get on a computer: through a network like the Internet and file transfers from other computers.

Users want to attach computers to the Internet and receive emails, instant messages; browse web pages, download music and fun software etc. The problem is that this puts not just millions but billions of people at their doorstep! Imagine that if billions of people could reach a home instantly – how many ill intentioned people would come by to see if the doors and windows were secured? How many con artists would knock on the door? An Internet connected computer is in just that predicament.

When a computer is connected to a network by design it starts listening for communications from the outside world. Things known as ports get created which are special “doors” to the computer. These doors are special because they each have a designated program that will answer the door if it is knocked on. Examples of programs that listen for traffic from the network include:

1. instant messaging programs
2. Internet phone software
3. software for connecting to the computer from remote locations
4. Internet games

Even the operating system itself opens ports to share files or a printer or anything else on the computer. Each of those programs creates a “door” to a computer that it will answer if someone “knocks” on it. If that program is poorly designed then when it answers the “knocking” program could take advantage of it and thus compromise the computer.

In addition to people being able to come across the Internet and knock on one of the “doors” mentioned above - by using a web browser and surfing the Internet users are inviting people to access their computers. Every time a web site is browsed the web browser is downloading files to the computer and processing them. If that web browser is not programmed properly it is a huge security risk. For example on December 12 of 2008 Microsoft reported a big security hole in all versions of its Internet Explorer browser. The hole permitted data stealing software to be installed on the victim’s computer just by browsing an infected web page! Other examples of programs that invite access to your computer:

• Email programs
• File sharing and music sharing programs (by far one of the largest security risks)
• Instant messaging software

So aside from isolating a computer from the outside world, how can one protect a computer system? Here are some tips:

1. Don’t use Internet Explorer as your main browser. I am not bashing Microsoft or Internet Explorer particularly and something should be made clear: It is not necessarily that other browsers are programmed so much better but that 80% of people surfing the Internet are using Internet Explorer. Thus thieves interested in gaining access to the maximum amount of victims are going to spend most of their efforts exploiting the security holes of the browser that 80% of the people are using.
2. Put a firewall between your internal network and the Internet. A firewall’s job is to keep out those billions of people who can be at your doorstep instantaneously. It will only allow those you invite to knock on your computer’s door.
3. Use a Firewall on each individual computer. The network firewall mentioned above is a big step toward protecting the internal network. The problem is that it generally won’t protect users from themselves. A user browsing a website is telling the network firewall that it has given an invitation to that website and to permit files from that site to come through. If the user browses an infected website with a browser that has a security hole a virus will get into the network. If it is a certain type of virus it could start replicating itself within the local network. A computer firewall defends against this sort of problem.
4. Update your operating system and browsers. Security holes are constantly found in all operating systems and all browsers. Software updates patch these holes.
5. Use a good and up-to-date antivirus and spyware program. These programs help prevent damage from viruses that do make it to your system.
6. Backup your data. Short of isolating a computer it is impossible to 100% secure a system. If you backup your data then should the worst occur having good backups will prevent disaster.

The above represents the basics and go a long way to protecting computer systems.

-------------------------------------------------------------------

Yves A Martin is the founder of M-Qual Computer and Internet Specialists: a network engineering and small business technical support firm based out of Philadelphia, PA. Yves maintains a site about Antivirus & Internet Security where users can find reliable information about computer security and also find out about recommended Antivirus Software.

Related Articles - Antivirus Internet Security, Viruses, Malware, Computer Security, Firewalls, Network Security,

Author: Yves Martin


iPhone-A Multimedia Smartphone

iPhone 3G is the second generation of iPhone, a smartphone made by Apple which combines an iPod, a tablet PC, a digital camera and a cellular phone. It has the display area of 3.5-inch wide screen and has a multi-touch interface with quiet high resolution of 160 pixels per inch.

It is very popular now days because of its extraordinary features. It bring into line data with a user's personal computer, using iTunes as client software and Apple's proprietary proprietary USB port.

It offers better features like:

Better email management Contacts search View more attachments Scientific calculator

Not only have these, iPhone had networking features and some hidden features also. Among the networking features iPhone has following features:

Automatic detection of WiFi networks. Support for the 802.11b and 802.11g standards. The use of quadband GSM and SIM cards to access cellular networks. EDGE support for high-speed data transfer where available. Bluetooth connectivity for short range networking with peripherals, other iPhones and PCs.

And among the hidden features iPhone has following features:

In the Favorites list in the Phone module, the iPhone’s equivalent of a speed-dial list, you can now have 50 entries instead of 20.

In the email module, you can now automatically BCC yourself on every message you send, allowing you to get a copy without revealing to the sender that you are doing so.

The iPhone can now play music through many previously incompatible car adapters and other external speakers originally designed for the iPod

Similar to the iPod, it can be easily updated by Apple with new features and bug fixes. Due to this new software of iPhone you are notified the next time you plug your iPhone into your computer and the new stuff is downloaded into the phone automatically. 3G wireless technology, GPS mapping, support for enterprise features such as Microsoft Exchange, and the new App Store, iPhone 3G add more features. It also adds 3 products into a single one i.e — a revolutionary phone, a widescreen iPod, and a breakthrough Internet device with rich HTML email and a desktop-class web browser.

iPhone also has the feature ‘compass’ with which display can be rotated by merely rotating the iPhone.

Every body want to know about how visitors found their website and how they interact with their site, we can now do this directly from iPhone with the help of Analytics App that is a “pocket version” of full Google Analytics account. It does everything we can do from our Google Analytics account on our computer’s browser.

At iPhoneSoftwareProgramming, we provide you with various iPhone services like Custom Native iPhone Apps, Web-Safari iPhone Apps, Social Networking Apps, iPhone games Development, Themes and icon design, iPhone staffing Augmentation, Appstore launch and Optimization. All these services can be reviewed by you from our site www.iphonesoftwareprogramming.com .

iPhone software programming is a division of A-1 Technology, which is a well known New York based software outsourcing company. We provide iPhone software programming solutions and implementation to various companies and individuals. We achieve our objectives by providing best iPhone solutions to our clients in a fair, honest and transparent way. At A-1 Technology, we deliver our cost effective and top notch iPhone programming services.

For more info please visit iPhone Apps

Related Articles - iPhone App development, iPhone Apps, iPhone Software development, iPhone Apps programming, iPhone Games development, iPhone GPS Apps,

Author: David Smith

Saturday, March 28, 2009

Practical Web References

Background

Web references in Visual Studio.Net create a proxy class used to access a web service. Visual Studio.Net uses the WSDL contract of the web service to create a local class that provides methods that mirror the remote service. The ASP.Net pages used in the project can then simply create an instance of the given class and call the methods like any other class, while the proxy class manages the necessary infrastructure to invoke the remote web service and return the results. We will review the two types of web references in Visual Studio.Net and discuss a unique approach to using them which reduces errors and administration time.

Static and Dynamic References

The two types of web references are static and dynamic. Static web references are "hardcoded" with the URL of the web service used when the reference was added. Dynamic web references use the original URL of the web service as a default, but allow the developer or administrator to override that URL through config files or code. The dynamic web reference is often used to facilitate the multiple "levels" of servers found in many organizations (development, stage, and production). Originally the dynamic reference is setup to a development or stage version of the web service while the ASP.Net site is being developed. Once the site is moved to production it needs to point to a production version of the web service. It is possible to use the web.config file to override the mapping between the web reference and the corresponding URL in the , but the web.config is often moved with the web site to production so it would continue to use the original value (or would need to be changed before every move). Another option is to store this in the machine.config file, which would avoid the need to alter the web.config file for each move. As the site moved to production it would reference the machine.config file on the server and use the proper production URL. This works well, but requires changes to the machine.config file on production machines (either manually or programatically). If this is not done properly or is forgotten, the dynamic reference instead uses its default value, which means that a production web site uses a development or stage version of the web service (not good).

Better Solution

Our friendly network administrator Brian, after multiple machine.config changes, recommended a better approach. He suggested using a specific DNS name to reference the web service, and then using the local "hosts" file on the server to resolve the DNS name to the proper IP address of the target web service machine. This has several advantages:

  • Uses static web reference which slightly increases performance since no lookups of config files must be done
  • Only requires an entry for each server that hosts a web service, instead of a key for each web service on the given machine. If there are 5 web services on a remote machine, the config method would require each to be in the machine.config file since the complete URL is stored. Using the hosts file, only a single entry is required for that machine. This saves a great deal of administrative time.
  • It is much less likely to result in production web sites pointing at the wrong machine. If the DNS name is not added to the hosts file, the web service will fail to connect rather than just default to the original URL (which will most likely go undetected).

Technique

The following are the steps we used to setup a DNS name to web services that exists on our intranet servers:

  • Decide on a DNS name to use for the web reference, such as "ws.mycompany.net".
  • Modify the "hosts" file (%sysroot%\system32\drivers\etc\hosts) on each machine that runs the ASP.Net site, add a line with the IP address of the server that hosts the web service
    10.4.3.35 ws.mycompany.net
  • Add a static web reference in Visual Studio.Net that uses the DNS name http://ws.mycompany.net/... and the rest of the path to the .asmx file for the web service

Notes

This technique may not work properly if the web service expects host headers to differentiate web sites on the server. In this case, the host header is the DNS name chosen on the client end, which probably does not exist at all on the remote server. In the case where a remote service already provides an Internet DNS name, this technique could be used on a particular machine to override the default IP address and enter the specific IP address of a test or stage server.

Another issue may arise for those that have a winsock proxy/ISA firewall client installed on their machines. These services typically want to resolve DNS names at the proxy server rather than the desktop computer. In this case, you will need to change the entry in the machine.config file from the original setting to one that specifies your particular web proxy and has a bypass list that includes the DNS name chosen for the web service reference.

Conclusion

This technique has proven very useful for web references on our intranet web servers. It has avoided a great deal of manual work, and avoided errors due to missing or misconfigured web service keys.

Send comments or questions to robertb@aspalliance.com.

by Robert Boedigheimer

Creating and Installing a Windows Service with Visual Studio 2005

Creating and installing a windows service is explained step by step.

· Open Visual Studio 2005

· Select new project Visual C# - Windows in Project Types and Windows service in the installed templates and click Ok.

· Write the code for OnStart and OnStop. Build and see that the windows service does not have any errors.

· Run InstallUtil /i WindowsService.exe in the Visual Studio command prompt. To uninstall we can use InstallUtil /u WindowsService.exe.

· Open Services.msc and locate the service in the list of the services. Start the service.


by Uday Denduluri