Are you using an intranet or the internet to push the
updates? If the internet, you probably can't get there
without a web server. If you are using an intranet, you
can do it from a shared folder. Paul Kimmel has a new
book http://www.amazon.com/exec/obidos/AS...24075/internco
m-20/002-4611773-6304806 that discusses this in depth...
I can send you some code to do it. Effectively you need
two assemblies, one that calls the second, and it looks
to somehwere 'else' to check if the somewhere 'else' on
is newer than the one it wants to use. I've done it on
the intranet at work, and on a scale of 1 to 10, it's
about a 4 the first time through, and much easier
afterward, setting the permissions is the main gotcha.
Let me know which scenario you are using and I can be of
more help.
Good Luck,
Bill
W.G. Ryan do********@comcast.nospam.net www.knowdotnet.com-----Original Message----- I am building an application that would check for newest
releases on startand if new releases exist, it would update itself. All
reference I havefound are using a web server which I don't want to use.
I am doing this in VB.net, and the updates should be
stored on SQL Server2000.
Any ideas how can I do this. I have heard something
about AutoUpdate class.Would it work with an SQL Server as well?
Any help will be appreciated,
-- Dino Buljubasic Software Developer http://rivusglobal.com
. 7 2936
Thanks William,
the update will be done over INTERNET. Since I am quite inexperienced with
this, can you explain to me how to do it please.
My idea is to have somewhere on my server (SQL Server or Web Server) a file
with information about the release (eg. a file with date stamp, version
number, and whatever else is needed).
Then, when my application starts, it will read the file and check if a newer
version has been stored on SQL Server (It has to be SQL Server 2000). If
yes, it will connect to the SQL Server 2000 (if it has access rights),
download vb.net executable file of the newer application which will replace
the old application on clients machine.
The thing is that the executable file of the release has to be protected
from public access, that is why I want to have it on SQL Server 2000 and
only users that have access rights can download it. The access right should
be set using user name and password.
Thank you for your help. I appreciate it very much.
--
Dino Buljubasic
Software Developer http://rivusglobal.com
"William Ryan" <do********@comcast.nospam.net> wrote in message
news:04****************************@phx.gbl... Are you using an intranet or the internet to push the updates? If the internet, you probably can't get there without a web server. If you are using an intranet, you can do it from a shared folder. Paul Kimmel has a new book http://www.amazon.com/exec/obidos/AS...24075/internco m-20/002-4611773-6304806 that discusses this in depth... I can send you some code to do it. Effectively you need two assemblies, one that calls the second, and it looks to somehwere 'else' to check if the somewhere 'else' on is newer than the one it wants to use. I've done it on the intranet at work, and on a scale of 1 to 10, it's about a 4 the first time through, and much easier afterward, setting the permissions is the main gotcha.
Let me know which scenario you are using and I can be of more help.
Good Luck,
Bill
W.G. Ryan do********@comcast.nospam.net www.knowdotnet.com-----Original Message----- I am building an application that would check for newest releases on startand if new releases exist, it would update itself. All reference I havefound are using a web server which I don't want to use.
I am doing this in VB.net, and the updates should be stored on SQL Server2000.
Any ideas how can I do this. I have heard something about AutoUpdate class.Would it work with an SQL Server as well?
Any help will be appreciated,
-- Dino Buljubasic Software Developer http://rivusglobal.com
.
Dino M. Buljubasic <di*************@rivusglobal.com> wrote: the update will be done over INTERNET. Since I am quite inexperienced with this, can you explain to me how to do it please.
My idea is to have somewhere on my server (SQL Server or Web Server) a file with information about the release (eg. a file with date stamp, version number, and whatever else is needed).
Then, when my application starts, it will read the file and check if a newer version has been stored on SQL Server (It has to be SQL Server 2000). If yes, it will connect to the SQL Server 2000 (if it has access rights), download vb.net executable file of the newer application which will replace the old application on clients machine.
The thing is that the executable file of the release has to be protected from public access, that is why I want to have it on SQL Server 2000 and only users that have access rights can download it. The access right should be set using user name and password.
Thank you for your help. I appreciate it very much.
Is there any reason for not getting the webserver to make the
connection and serve up the file, using the username and password given
by the user? That way you wouldn't have to open up your SQL server to
the outside world. (At least, not for this particular bit of
functionality.)
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Dino M. Buljubasic <di*************@rivusglobal.com> wrote: I am concerned about the security when using web server. That is the main reason I'd like to use SQL Server 2000 or maybe FTP server (but .NET does not offer any support for FTP)
Why do you think that putting a SQL server 2000 box or FTP server on
the net is more secure than putting a webserver there?
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
I don't know much about security issues but I heard about crawlers and
simmilar software that can get anything from an HTTP Server.
Basically, I am looking for the best solution and since I don't have much of
experience, can you please tell me more about advantages and disadvantages
of web server, sql server and ftp server?
What do you thing is the best way to go for and why giving the requirement I
listed before.
Thank you, any suggestions are welcome.
--
Dino Buljubasic
Software Developer http://rivusglobal.com
"Jon Skeet" <sk***@pobox.com> wrote in message
news:MP************************@news.microsoft.com ... Dino M. Buljubasic <di*************@rivusglobal.com> wrote: I am concerned about the security when using web server. That is the
main reason I'd like to use SQL Server 2000 or maybe FTP server (but .NET
does not offer any support for FTP)
Why do you think that putting a SQL server 2000 box or FTP server on the net is more secure than putting a webserver there?
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/ If replying to the group, please do not mail me too
Dino M. Buljubasic <di*************@rivusglobal.com> wrote: I don't know much about security issues but I heard about crawlers and simmilar software that can get anything from an HTTP Server.
That's rubbish. If something is password protected, it's password
protected, unless there's a bug in the server - and there can be bugs
in ftp servers and SQL servers just as easily as in web servers.
Basically, I am looking for the best solution and since I don't have much of experience, can you please tell me more about advantages and disadvantages of web server, sql server and ftp server?
Well, web servers are generally more commonly on the net than either of
the others, so are likely to have had more things thrown at them over
time. FTP servers would come second in that regard.
What do you thing is the best way to go for and why giving the requirement I listed before.
I would just go with a web server solution. Putting a database server
up on the net doesn't gain you anything, and opens you up *slightly*
more for denial of service attacks, I suspect.
Given that as you said before, everything is geared towards using a web
server, I'd be looking for some really pretty convincing arguments
against using a web server before considering it - and crawlers being
able to "get anything" *isn't* a convincing argument.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Are you talking about IIS server when you say 'web server'?
I heard that IIS has lots of holes and compatibility issues with .NET.
Also, setting permissions for users can be troublesome. Is that right?
"Jon Skeet" <sk***@pobox.com> wrote in message
news:MP************************@news.microsoft.com ... Dino M. Buljubasic <di*************@rivusglobal.com> wrote: I don't know much about security issues but I heard about crawlers and simmilar software that can get anything from an HTTP Server.
That's rubbish. If something is password protected, it's password protected, unless there's a bug in the server - and there can be bugs in ftp servers and SQL servers just as easily as in web servers.
Basically, I am looking for the best solution and since I don't have
much of experience, can you please tell me more about advantages and
disadvantages of web server, sql server and ftp server?
Well, web servers are generally more commonly on the net than either of the others, so are likely to have had more things thrown at them over time. FTP servers would come second in that regard.
What do you thing is the best way to go for and why giving the
requirement I listed before.
I would just go with a web server solution. Putting a database server up on the net doesn't gain you anything, and opens you up *slightly* more for denial of service attacks, I suspect.
Given that as you said before, everything is geared towards using a web server, I'd be looking for some really pretty convincing arguments against using a web server before considering it - and crawlers being able to "get anything" *isn't* a convincing argument.
-- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/ If replying to the group, please do not mail me too
Dino M. Buljubasic <di*************@rivusglobal.com> wrote: Are you talking about IIS server when you say 'web server'?
Or Apache.
I heard that IIS has lots of holes and compatibility issues with .NET.
Did you hear about the SQL Slammer worm that went round recently too?
Also, setting permissions for users can be troublesome. Is that right?
Don't know, myself - I haven't administered any IIS boxes personally.
I'm sure it's doable though.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: The List Man |
last post by:
Crontabs for automatic site updates.
Does anyone know how to set up a crontab for automatically updating
a webpage on a regular basis. We know how to set these to run perl
files, but seem to...
|
by: Gert van der Kooij |
last post by:
Hi,
It's no problem to define the automatic maintenance using the wizard
but I want to use commands to automate automation. I captured the SQL
statements when activating the maintenance but that...
|
by: Ty Moffett |
last post by:
Below is a set of insructions that changes the registry keys pertaining to
Automatic Updates on my Windows XP box.
I can make changes using the control panel applet and see the changes
reflected...
|
by: Michel Esber |
last post by:
Hello,
Linux RedHat AS4 running DB2 V8 FP11.
I have followed the docs at http://tinyurl.com/qckrn and enabled
automatic statistics collection. It has been 2 days since I updated my
DB cfg and...
|
by: =?Utf-8?B?VG9kZA==?= |
last post by:
I need to be able to set Windows "Automatic Updates" to "Download updates for
me, but let me choose when to install them" on my clients computers
programmatically. If someone could point me in the...
|
by: =?Utf-8?B?Zmx5ZXJk?= |
last post by:
I have win xp home, automatic updates set for auto at 3:00 am. The download
and install happens. (Proved by looking on web update history and in windows
directory) however the yellow icon w/ the...
|
by: =?Utf-8?B?LUdFUC4=?= |
last post by:
My wife's machine had to have Windows XP Pro repaired from the original old
installation CDs, which seemed to work fine until Automatic Updates revealed
it needed 89 critical updates...all of which...
|
by: =?Utf-8?B?RUVL?= |
last post by:
I cannot enable my Automatic Updates. Whenever I enable it, it goes directly
to disable. I hve a Windows security Alert constantly in my tool bar. When
I click on that, I can't even switch...
|
by: raaman rai |
last post by:
I have turned up Automatic Updates in my system in it daily updates and ask for restart after successful installation. Today again my system was restarted on its own after the updates but...
|
by: raaman rai |
last post by:
This is quite irratiting to find out that my system is enabled with automatic updates and it periodically updates my pc with the latest updates. But recently i encountered network problem once the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |