473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Question about VB.Net connecting to a webserver

Hi there guys!
I have one question... I'm doing a simple program in VB.Net 2003 that can
store my personal notes, my IE favourites, some pictures, etc.
I will also make an ASP.Net site (also in VB) that holds this information,
so I can access it from anywhere.
Now what would be cool was to make my program connect to the website, and
syncronize with it!
While this will be a "hobby project", I'd like to learn more about security
and "real world programming", so users will have to be registered at the
site. So, my question is...

What is the best way to transmit information and files between the webserver
and my application, while ensuring the information is secure?

Thanks in advance!

--
André Nogueira
Portugal
Nov 21 '05 #1
5 1154
The easiest way to secure "data" is to use a server certificate so your
transmitting data over https and building that into your client, however I
think your more likely asking about securing your web site via access
controls rather than securing the transmission of data. These are different
things entirely and to understand security you should really learn how the
web server works at a security level.

Theres a long read here that tells you all you need to know about securing
asp.net applications.
http://msdn.microsoft.com/library/de...haspdotnet.asp

and a little something about https ....
http://www.ourshop.com/resources/ssl.html

....and a simple forms example of posting data to a web server
http://www.ftponline.com/vsm/2004_04...ne/columns/qa/

While your reading, look up the concept of remoting.....

Hope that helps!

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"André Nogueira" <an**@netcabo.pt.NOSPAM> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
Hi there guys!
I have one question... I'm doing a simple program in VB.Net 2003 that can
store my personal notes, my IE favourites, some pictures, etc.
I will also make an ASP.Net site (also in VB) that holds this information,
so I can access it from anywhere.
Now what would be cool was to make my program connect to the website, and
syncronize with it!
While this will be a "hobby project", I'd like to learn more about
security and "real world programming", so users will have to be registered
at the site. So, my question is...

What is the best way to transmit information and files between the
webserver and my application, while ensuring the information is secure?

Thanks in advance!

--
André Nogueira
Portugal

Nov 21 '05 #2
Thanks for links! I'll read it all =)
But one thing.. disregarding security, what would be the best way to
transfer info between the client and the server?
A webservice? An ASP.Net page that the client accesses without the user ever
seeing it?

Thanks!

André Nogueira
"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:Ol**************@TK2MSFTNGP15.phx.gbl...
The easiest way to secure "data" is to use a server certificate so your
transmitting data over https and building that into your client, however I
think your more likely asking about securing your web site via access
controls rather than securing the transmission of data. These are
different things entirely and to understand security you should really
learn how the web server works at a security level.

Theres a long read here that tells you all you need to know about securing
asp.net applications.
http://msdn.microsoft.com/library/de...haspdotnet.asp

and a little something about https ....
http://www.ourshop.com/resources/ssl.html

...and a simple forms example of posting data to a web server
http://www.ftponline.com/vsm/2004_04...ne/columns/qa/

While your reading, look up the concept of remoting.....

Hope that helps!

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"André Nogueira" <an**@netcabo.pt.NOSPAM> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
Hi there guys!
I have one question... I'm doing a simple program in VB.Net 2003 that can
store my personal notes, my IE favourites, some pictures, etc.
I will also make an ASP.Net site (also in VB) that holds this
information, so I can access it from anywhere.
Now what would be cool was to make my program connect to the website, and
syncronize with it!
While this will be a "hobby project", I'd like to learn more about
security and "real world programming", so users will have to be
registered at the site. So, my question is...

What is the best way to transmit information and files between the
webserver and my application, while ensuring the information is secure?

Thanks in advance!

--
André Nogueira
Portugal


Nov 21 '05 #3
BTW, I'm talking about *retrieving* the files, as you gave me a page about
*sending* them...

Thanks!

André Nogueira

"André Nogueira" <an**@netcabo.pt.NOSPAM> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
Thanks for links! I'll read it all =)
But one thing.. disregarding security, what would be the best way to
transfer info between the client and the server?
A webservice? An ASP.Net page that the client accesses without the user
ever seeing it?

Thanks!

André Nogueira
"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:Ol**************@TK2MSFTNGP15.phx.gbl...
The easiest way to secure "data" is to use a server certificate so your
transmitting data over https and building that into your client, however
I think your more likely asking about securing your web site via access
controls rather than securing the transmission of data. These are
different things entirely and to understand security you should really
learn how the web server works at a security level.

Theres a long read here that tells you all you need to know about
securing asp.net applications.
http://msdn.microsoft.com/library/de...haspdotnet.asp

and a little something about https ....
http://www.ourshop.com/resources/ssl.html

...and a simple forms example of posting data to a web server
http://www.ftponline.com/vsm/2004_04...ne/columns/qa/

While your reading, look up the concept of remoting.....

Hope that helps!

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"André Nogueira" <an**@netcabo.pt.NOSPAM> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
Hi there guys!
I have one question... I'm doing a simple program in VB.Net 2003 that
can store my personal notes, my IE favourites, some pictures, etc.
I will also make an ASP.Net site (also in VB) that holds this
information, so I can access it from anywhere.
Now what would be cool was to make my program connect to the website,
and syncronize with it!
While this will be a "hobby project", I'd like to learn more about
security and "real world programming", so users will have to be
registered at the site. So, my question is...

What is the best way to transmit information and files between the
webserver and my application, while ensuring the information is secure?

Thanks in advance!

--
André Nogueira
Portugal



Nov 21 '05 #4
If you are using the FTP approach mentioned above, you can use
FtpGetFileA/FtpGetFileW

as John Timney suggests you would benefit from reading on remoting --
grab any 70-310 book and read the chapter (actually read the whole
thing -- it'll be good for you)

also, .NET v2 will have the functionality that you need... The
FtpMethods class has UploadFile and DownloadFile methods (among others)

Nov 21 '05 #5
Andre,

- Webpage is a complete application, that interacts with (a) webserver(s)
- Webservice is an application that gets and supplies data from (a)
webserver(s) (by instance to a windowsforms application)

See this link to a very nice walkthrough.

http://msdn.microsoft.com/library/de...alkthrough.asp

I hope this helps a little bit?

Cor
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bob | last post by:
Hi, I have a website in a Linux/Apache shared hosting environment and have been given access to the MySQL server running on the same machine. To access this database from PHP, I have to call...
1
by: Ben | last post by:
I am trying to access SQL server in my home office via VB.NET from my office. using server explorer and typing my home webserver IP tells me that Servers out side of this domain is not...
4
by: Uthuras | last post by:
Greetings All, I have situation as such that I need to access the DB2 database reside on a Solaris box. I have DB2 6.1 on my Solaris box. However, my webserver is on Redhat 7.2. Now, I want to...
8
by: Hardy Wang | last post by:
Hi: Is it possible for me to create/open web application from remote machine other than port 80? And create application directly under virtual web site instead of creating a virtual directory?...
10
by: ej1008 | last post by:
HI all I am having a windows Control running on ASP.Net webform. From this windows control I am trying to connect to database to do some database operations. Now I am facing problem while...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
3
by: GTDriver | last post by:
I'm trying to connect my application with a web service located on my own web server(localhost). I guess when the solution/proect is built it makes a file called 'Web...
10
by: MVChauhan | last post by:
Hi We are planning to move over to SQL Server 2005 in near future. At the moment Website is on a seperate server then the Database. OS for both the server is Window 2003 and currently our data...
4
by: =?Utf-8?B?Y2hyaXM=?= | last post by:
Hi, My webserver is in DMZ zone, not in domain. I created a local user on it and an application pool for assigning it to my web site (ASP.NET 2005 - IIS 6.0). The application pool has a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.